Function at 0x45b350
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x50d234]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45bdbe
sub esp, 0x74
cmp dword [0x50d170], 2
je 0x45bda7
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45bd26
movzx ecx, byte [0x50d520]
test cl, cl
je 0x45b44e
mov ecx, dword [0x50d528]
test ecx, ecx
je 0x45b3fc
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x45b3d2
test eax, 7
jne 0x45b3af
mov ecx, 8
jmp 0x45b3d7
test eax, 3
jne 0x45b3bd
mov ecx, 4
jmp 0x45b3d7
test eax, 1
jne 0x45b3cb
mov ecx, 2
jmp 0x45b3d7
mov ecx, 1
jmp 0x45b3d7
mov ecx, 0x10
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x50f7b8]
mov dword [esp + 8], eax
call fcn.0040a600
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
add esp, 0x74
ret
movzx ecx, byte [0x50d340]
test cl, cl
je 0x45b44e
mov ecx, dword [0x50d234]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x58]
cmp dword [0x50d344], edx
sete dl
cmp dword [0x50d348], ecx
sete cl
and ecx, edx
test cl, cl
je 0x45b44e
mov ecx, dword [0x50d34c]
mov edx, dword [0x50d350]
add ecx, 1
mov dword [0x50d34c], ecx
adc edx, 0
mov dword [0x50d350], edx
mov dword [esp], eax
call fcn.0040a230
mov eax, dword [0x50d234]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 4]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x45bd91
mov ebx, dword [0x50d234]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
cmp dword [eax + 0x30], ebx
je 0x45bd7b
mov dword [eax + 0x6c], 1
mov ebx, dword [eax + 0x58]
test ebx, ebx
je 0x45b4a1
mov ebx, dword [ebx + 0x30]
jmp 0x45b4a7
mov ebx, dword [0x50d1d0]
test ebx, ebx
je 0x45bd65
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x45b4c5
mov esi, dword [ebp + 4]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x45b4ca
mov esi, 1
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], ebx
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
mov edi, dword [esp + 0x78]
cmp edi, 0x7ff8
ja 0x45b96b
xchg esi, eax
test al, al
xchg esi, eax
je 0x45b70e
cmp edi, 0x10
jae 0x45b704
mov ecx, dword [ebx + 0xc]
test edi, 7
jne 0x45b512
add ecx, 7
and ecx, 0xfffffff8
jmp 0x45b53c
cmp edi, 0xc
jne 0x45b51f
add ecx, 7
and ecx, 0xfffffff8
jmp 0x45b53c
test edi, 3
jne 0x45b52f
add ecx, 3
and ecx, 0xfffffffc
jmp 0x45b53c
test edi, 1
jne 0x45b53c
inc ecx
nop
and ecx, 0xfffffffe
lea edx, [ecx + edi]
cmp edx, 0x10
ja 0x45b594
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x45b590
add ecx, ebp
mov dword [ebx + 0xc], edx
inc dword [ebx + 0x10]
mov dword [eax + 0x6c], 0
mov edx, dword [eax + 0x7c]
lea ebx, [edx - 1]
nop
mov ebp, dword [0x50d234]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [eax + 0x7c], ebx
cmp edx, 1
jne 0x45b585
movzx eax, byte [ebp + 0x69]
test al, al
je 0x45b585
mov dword [ebp + 8], 0xfffffade
mov dword [esp + 0x84], ecx
add esp, 0x74
ret
mov ebp, dword [esp + 0x7c]
mov edx, dword [ebx + 0x28]
mov ecx, dword [edx + 0x24]
bsf eax, ecx
jne 0x45b5a4
mov eax, 0x20
mov ebp, dword [edx + 0x20]
bsf esi, ebp
jne 0x45b5b1
mov esi, 0x20
cmp ebp, 1
sbb ebx, ebx
xor ebx, 0xffffffff
not ebx
and eax, ebx
lea ebx, [esi + eax]
cmp ebx, 0x40
jge 0x45b694
mov dword [esp + 0x54], ebp
mov dword [esp + 0x28], edx
movzx edi, word [edx + 0x18]
lea ebp, [edi + ebx]
movzx edx, word [edx + 0x1a]
cmp dx, bp
jbe 0x45b68c
lea ebx, [edi + ebx + 1]
test bx, 0x3f
jne 0x45b604
cmp dx, bx
je 0x45b604
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x78]
xor ebp, ebp
jmp 0x45b696
mov dword [esp + 0x50], ecx
mov word [esp + 0x22], bx
lea edx, [esi + eax - 0x1f]
mov dword [esp + 0x4c], edx
mov edi, ecx
mov ecx, edx
shr edi, cl
mov dword [esp + 0x48], edi
neg ecx
mov ebx, dword [esp + 0x50]
shl ebx, cl
lea eax, [esi + eax + 1]
mov esi, ecx
mov ecx, eax
mov edi, dword [esp + 0x54]
shr edi, cl
mov edx, dword [esp + 0x50]
shr edx, cl
movzx ebp, bp
cmp eax, 0x20
sbb eax, eax
and edi, eax
and edx, eax
cmp esi, 0x20
sbb eax, eax
and ebx, eax
or edi, ebx
mov eax, dword [esp + 0x4c]
cmp eax, 0x20
sbb eax, eax
mov ebx, dword [esp + 0x48]
and ebx, eax
or edi, ebx
mov eax, dword [esp + 0x28]
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edx
movzx edx, word [esp + 0x22]
mov word [eax + 0x18], dx
movzx edx, word [eax + 0x3c]
inc edx
mov word [eax + 0x3c], dx
imul ebp, dword [eax + 0x44]
add ebp, dword [eax + 0xc]
mov edx, eax
mov edi, dword [esp + 0x78]
jmp 0x45b696
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x78]
xor ebp, ebp
test ebp, ebp
je 0x45b69e
xor eax, eax
jmp 0x45b6c0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov byte [esp + 4], 5
call fcn.00409ff0
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x10]
mov edi, dword [esp + 0x78]
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 0xc], edi
ja 0x45b6ec
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x45b6f6
mov ebx, ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edi
jmp 0x45b6f8
mov ebx, ebp
mov ebp, 0x10
xor esi, esi
jmp 0x45b957
xchg esi, eax
test al, al
xchg esi, eax
je 0x45b70e
xor ecx, ecx
jmp 0x45b717
cmp edi, 0x80
seta cl
test cl, cl
je 0x45b724
lea edx, [edi + 8]
mov edi, edx
mov edx, dword [esp + 0x6c]
cmp edi, 0x3f8
ja 0x45b74a
add edi, 7
shr edi, 3
cmp edi, 0x81
jae 0x45bd59
lea edx, [0x4ea640]
movzx edx, byte [edx + edi]
jmp 0x45b770
add edi, 0xfffffc7f
shr edi, 7
cmp edi, 0xf9
jae 0x45bd4d
lea ebp, str._______________________....______0001123333333333444444444455666677777888888888889999999999::::::___________________________________________________________________________AAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
movzx ebp, byte [ebp + edi]
mov edx, ebp
mov ebp, dword [esp + 0x7c]
movzx edi, dl
cmp edi, 0x44
jae 0x45bd41
shl edx, 1
xchg esi, ebx
movzx eax, bl
xchg esi, ebx
or edx, eax
movzx eax, dl
lea ebp, [0x4ea6e0]
movzx ebp, word [ebp + edi*2]
nop
cmp eax, 0x88
jae 0x45bd37
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1b], dl
mov dword [esp + 0x44], ebp
mov eax, dword [ebx + eax*4 + 0x14]
mov edi, dword [eax + 0x24]
bsf esi, edi
jne 0x45b7be
mov esi, 0x20
mov edx, dword [eax + 0x20]
bsf ebx, edx
jne 0x45b7cb
mov ebx, 0x20
cmp edx, 1
sbb ebp, ebp
xor ebp, 0xffffffff
xchg ebp, ebx
not ebx
xchg ebp, ebx
and esi, ebp
lea ebp, [ebx + esi]
cmp ebp, 0x40
jge 0x45b8ad
mov dword [esp + 0x54], edx
mov dword [esp + 0x28], eax
movzx ecx, word [eax + 0x18]
lea edx, [ecx + ebp]
movzx eax, word [eax + 0x1a]
cmp ax, dx
jbe 0x45b8a4
lea ebp, [ecx + ebp + 1]
test bp, 0x3f
jne 0x45b823
cmp ax, bp
je 0x45b823
mov eax, dword [esp + 0x28]
movzx ecx, byte [esp + 0x1e]
xor edx, edx
jmp 0x45b8af
mov dword [esp + 0x50], edi
mov word [esp + 0x20], bp
lea ecx, [esi + ebx - 0x1f]
mov dword [esp + 0x4c], ecx
mov eax, edi
shr edi, cl
neg ecx
shl eax, cl
mov dword [esp + 0x48], eax
lea ebx, [ebx + esi + 1]
mov esi, ecx
mov ecx, ebx
mov ebp, dword [esp + 0x50]
shr ebp, cl
mov eax, dword [esp + 0x54]
shr eax, cl
movzx edx, dx
cmp ecx, 0x20
sbb ebx, ebx
and eax, ebx
and ebp, ebx
mov ebx, dword [esp + 0x4c]
cmp ebx, 0x20
sbb ebx, ebx
and edi, ebx
cmp esi, 0x20
sbb ebx, ebx
mov esi, dword [esp + 0x48]
and esi, ebx
or eax, esi
or edi, eax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], ebp
movzx ebx, word [esp + 0x20]
mov word [eax + 0x18], bx
movzx ebx, word [eax + 0x3c]
inc ebx
mov word [eax + 0x3c], bx
imul edx, dword [eax + 0x44]
add edx, dword [eax + 0xc]
movzx ecx, byte [esp + 0x1e]
jmp 0x45b8af
mov eax, dword [esp + 0x28]
movzx ecx, byte [esp + 0x1e]
xor edx, edx
test edx, edx
je 0x45b8b7
xor ebx, ebx
jmp 0x45b8e0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
movzx ecx, byte [esp + 0x1b]
mov byte [esp + 4], cl
call fcn.00409ff0
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov ebx, ecx
movzx ecx, byte [esp + 0x1e]
movzx ebp, byte [esp + 0x80]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45b92e
movzx ebp, byte [eax + 0x40]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45b8fc
test cl, cl
jmp 0x45b930
mov dword [esp + 0x70], edx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x40], eax
mov dword [esp], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00463350
movzx eax, byte [esp + 0x1e]
test al, al
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
movzx ebx, byte [esp + 0x1c]
jmp 0x45b930
test cl, cl
je 0x45b93f
nop
mov ecx, dword [esp + 0x44]
lea ebp, [ecx - 8]
lea ecx, [edx + 8]
jmp 0x45b947
mov ebp, dword [esp + 0x44]
mov ecx, edx
xor edx, edx
mov edi, dword [esp + 0x78]
mov esi, edx
mov edx, eax
mov eax, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x38], al
xor eax, eax
mov byte [esp + 0x1f], al
movzx eax, byte [esp + 0x38]
jmp 0x45b9f5
mov dword [esp], ebx
mov dword [esp + 4], edi
xchg esi, eax
mov byte [esp + 8], al
xchg esi, eax
call fcn.0040e480
mov eax, dword [esp + 0xc]
mov word [eax + 0x18], 1
mov word [eax + 0x3c], 1
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x44]
nop
movzx ebx, byte [esp + 0x80]
test bl, bl
je 0x45b9af
movzx ebx, byte [eax + 0x40]
test bl, bl
je 0x45b9af
mov ebx, 1
jmp 0x45b9b1
xor ebx, ebx
movzx ebp, byte [esp + 0x1d]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45b9c0
xor esi, esi
jmp 0x45b9de
mov esi, dword [0x50d2c0]
test esi, esi
je 0x45b9d4
mov esi, dword [eax + 0x5c]
call fcn.00462c50
mov dword [edi], esi
mov dword [eax + 0x5c], 0
lea esi, [eax + 0x5c]
mov edi, dword [esp + 0x78]
mov byte [esp + 0x1f], bl
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x34]
mov edx, eax
mov eax, 1
mov dword [esp + 0x64], ebx
mov byte [esp + 0x1c], al
mov dword [esp + 0x68], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x28], edx
movzx ebp, byte [esp + 0x1d]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45ba50
movzx ebp, byte [esp + 0x1f]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45ba26
movzx ebp, byte [esp + 0x1d]
jmp 0x45ba50
mov dword [esp], ebx
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.0040d050
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
add ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
call fcn.004628e0
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 0x18]
mov word [eax + 0x1c], cx
mov ecx, dword [0x50d170]
test ecx, ecx
je 0x45ba7f
mov ecx, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00418520
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4ea1d0]
mov edx, dword [eax + 0x44]
mov dword [esp + 0x2c], edx
test ecx, ecx
jle 0x45bac5
cmp ecx, 1
je 0x45baa5
mov ecx, dword [esp + 0x34]
mov ebx, dword [ecx]
cmp ebx, edx
jbe 0x45baa5
sub ebx, edx
mov dword [ecx], ebx
jmp 0x45bac5
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040a380
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x6c], 0
mov ebx, dword [ecx + 0x7c]
lea ebp, [ebx - 1]
nop
mov esi, dword [0x50d234]
mov esi, dword fs:[esi]
mov esi, dword [esi]
mov dword [ecx + 0x7c], ebp
cmp ebx, 1
jne 0x45baf9
movzx ecx, byte [esi + 0x69]
test cl, cl
je 0x45baf9
mov dword [esi + 8], 0xfffffade
movzx ecx, byte [esp + 0x1f]
test cl, cl
je 0x45bbc6
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040a2b0
movzx eax, byte [esp + 0x1d]
test al, al
jne 0x45bbc2
mov eax, dword [0x50d234]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x5c], eax
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x45bb4c
mov ecx, dword [ecx + 0x30]
jmp 0x45bb52
mov ecx, dword [0x50d1d0]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], ebp
call fcn.0040d050
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
add ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
call fcn.004628e0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x50d234]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x45bbc2
movzx eax, byte [ebx + 0x69]
test al, al
je 0x45bbc2
mov dword [ebx + 8], 0xfffffade
mov edx, dword [esp + 0x2c]
movzx eax, byte [0x50d520]
test al, al
je 0x45bc92
movzx eax, byte [0x50d340]
test al, al
je 0x45bc26
mov eax, dword [0x50d348]
mov ecx, dword [0x50d234]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x54]
cmp dword [0x50d344], ebx
sete bl
cmp dword [ecx + 0x58], eax
sete al
and eax, ebx
test al, al
je 0x45bc26
mov eax, dword [0x50d354]
mov ecx, dword [0x50d358]
add eax, edx
mov dword [0x50d354], eax
adc ecx, 0
mov dword [0x50d358], ecx
movzx eax, byte [0x4ef851]
test al, al
je 0x45bc92
movzx eax, byte [0x4ef850]
test al, al
jne 0x45bc42
xor ecx, ecx
xor eax, eax
jmp 0x45bc52
call fcn.004536e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
test ecx, ecx
je 0x45bc92
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
call fcn.0044d8a0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00453810
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x45bcbd
mov ecx, dword [eax + 0x108]
mov ebx, dword [eax + 0x10c]
mov ebp, dword [esp + 0x78]
sub edx, ebp
sub ecx, edx
mov dword [eax + 0x108], ecx
sbb ebx, 0
mov dword [eax + 0x10c], ebx
movzx eax, byte [esp + 0x1c]
test al, al
je 0x45bd17
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00410150
movzx eax, byte [esp + 0x10]
test al, al
je 0x45bd17
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004102c0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
add esp, 0x74
ret
lea eax, [0x50d120]
mov dword [esp + 0x84], eax
add esp, 0x74
ret
mov ecx, 0x88
call fcn.00462cd0
mov eax, edi
mov ecx, 0x44
call fcn.00462cd0
mov eax, edi
mov ecx, 0xf9
call fcn.00462ce0
mov eax, edi
mov ecx, 0x81
call fcn.00462ce0
lea eax, [0x4836a2]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.0045d710
lea eax, [0x47f0da]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0045d710
lea eax, [0x47e1d7]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0045d710
lea eax, [0x48350e]
mov dword [esp], eax
mov dword [esp + 4], 0x32
call fcn.0045d710
nop
call fcn.00461860
jmp fcn.0045b350