Function at 0x46bd50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49e010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 3]
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x5c], al
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x74], ebx
mov byte [esp + 0x4c], cl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3c], dl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2c], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 3
call fcn.0046eb50
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x7c], 4
call fcn.0046da50
test ax, ax
jne 0x46bef4
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call fcn.0046ec60
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, edi
mov byte [esp + 0x74], 2
je 0x46be28
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x46be15
mov esi, dword [esp + 0x30]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
add esp, 4
cmp esi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x74], 1
je 0x46be61
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x46be4e
mov esi, dword [esp + 0x40]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
add esp, 4
cmp esi, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x74], bl
je 0x46be99
push ebx
mov ecx, esi
call fcn.004185e0
add esi, 0x10
cmp esi, edi
jne 0x46be86
mov esi, dword [esp + 0x50]
push esi
call fcn.0048d500
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
add esp, 4
cmp esi, edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], 0xffffffff
je 0x46bed5
push ebx
mov ecx, esi
call fcn.00402090
add esi, 4
cmp esi, edi
jne 0x46bec2
mov esi, dword [esp + 0x60]
push esi
call fcn.0048d500
add esp, 4
xor ax, ax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edi, [ebp + 4]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.00413d30
xor esi, esi
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jne 0x46bf18
xor eax, eax
jmp 0x46bf21
mov eax, dword [esp + 0x54]
sub eax, ecx
sar eax, 4
movsx ecx, si
cmp ecx, eax
jae 0x46bf51
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ebx
call fcn.0046eb50
lea ecx, [esp + 0x18]
call fcn.0046ee50
mov eax, dword [edi + 8]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, edi
call fcn.00426200
inc esi
jmp 0x46bf0c
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00413d30
push 6
push 0x4af180
lea ecx, [esp + 0x28]
call fcn.0046ebc0
push eax
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 5
call fcn.00426200
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 4
call fcn.0046ec60
push 6
push 0x4af178
lea ecx, [esp + 0x28]
call fcn.0046ebc0
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 6
call fcn.00426200
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 4
call fcn.0046ec60
mov dl, byte [esp + 0x3c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x34], esp
mov byte [esi], dl
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jne 0x46bfe3
xor eax, eax
jmp 0x46bfec
mov eax, dword [esp + 0x54]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x46bff2
xor eax, eax
shl eax, 2
push eax
call fcn.0048db76
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00401c00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push ecx
mov byte [esp + 0x88], 7
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x4af170
call fcn.0046ebc0
mov ecx, dword [0x4b63ec]
mov byte [esp + 0x88], 4
call fcn.004157a0
cmp ax, bx
jl 0x46c363
movsx eax, ax
sub eax, ebx
je 0x46c0d2
dec eax
jne 0x46bfc8
mov al, byte [esp + 0x4c]
sub esp, 0x10
mov esi, esp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], esp
mov byte [esi], al
call fcn.00426100
cmp eax, ebx
jge 0x46c07c
xor eax, eax
shl eax, 4
push eax
call fcn.0048db76
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004261c0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
sub esp, 0x10
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x98], 0xb
call fcn.0040a7f0
mov ecx, ebp
mov byte [esp + 0x94], 4
call fcn.0046c420
jmp 0x46bfc8
mov cl, byte [esp + 0x5c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x38], esp
mov byte [esi], cl
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jne 0x46c0ed
xor eax, eax
jmp 0x46c0f6
mov eax, dword [esp + 0x74]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x46c0fc
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0048db76
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x78]
push eax
push ecx
mov ecx, esi
call fcn.00401c00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 8
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0046eb30
mov ecx, dword [0x4b63ec]
mov byte [esp + 0x88], 4
call fcn.004157a0
mov esi, eax
cmp si, bx
jl 0x46c35a
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.00413d30
movsx ebp, si
push ebp
mov ecx, edi
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x18]
call fcn.0046ee50
lea ecx, [esp + 0x14]
call fcn.0046efe0
test ax, ax
je 0x46c1be
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00426200
jmp 0x46c2df
mov edx, dword [esp + 0x50]
mov esi, ebp
shl esi, 4
add esi, edx
lea eax, [esp + 0x2c]
cmp eax, esi
je 0x46c2df
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.0040a860
cmp edi, eax
ja 0x46c226
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0040b060
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0040ab00
mov ecx, esi
call fcn.0040a860
mov edx, dword [esp + 0x30]
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
jmp 0x46c2db
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.0040aae0
cmp edi, eax
ja 0x46c284
mov edi, dword [esi + 4]
lea ecx, [esp + 0x2c]
call fcn.0040a860
mov ecx, dword [esp + 0x30]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.0040b060
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x2c]
push edx
push eax
push edi
call fcn.00401c00
mov ecx, esi
call fcn.0040a860
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax*4]
mov dword [esp + 0x34], edx
jmp 0x46c2db
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0040ab00
mov edx, dword [esp + 0x30]
push edx
call fcn.0048d500
add esp, 4
mov ecx, esi
call fcn.0040a860
cmp eax, ebx
jge 0x46c2b1
xor eax, eax
shl eax, 2
push eax
call fcn.0048db76
add esp, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.00401c00
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0040a7f0
push ebp
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 9
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0046eb30
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x8c], 4
call fcn.0046e180
cmp ax, bx
je 0x46c0d2
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0046eb30
push ebp
mov ecx, edi
mov byte [esp + 0x7c], 4
call fcn.00401ba0
mov ecx, eax
call fcn.0046ee50
jmp 0x46c0d2
mov ebp, dword [esp + 0x1c]
jmp 0x46bfc8
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call fcn.00413d30
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call fcn.0046ec60
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 2
call fcn.0040ab00
mov eax, dword [esp + 0x30]
push eax
call fcn.0048d500
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 1
call fcn.0040ab00
mov eax, dword [esp + 0x40]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x74], bl
call fcn.00413a30
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00401b60
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret