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

Disassembly:
mov eax, dword [esi + 0x48]
and ecx, 0xffff
cmp ecx, eax
je 0x46c43a
dec eax
cmp ecx, eax
jne 0x46bf25
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
mov edx, dword [esp + 0x14]
cmp eax, ecx
mov dword [esi + 0x40], ecx
mov dword [esp + 0x18], edx
jb 0x46bd1f
mov dl, byte [esi + 0x3c]
mov bl, 1
shl bl, cl
mov edi, edx
and edi, 0xff
shr dl, cl
dec bl
and ebx, 0xff
and ebx, edi
sub eax, ecx
mov byte [esi + 0x3c], dl
mov dword [esi + 0x48], eax
jmp 0x46be57
mov ecx, dword [esi + 0x4c]
mov eax, dword [esp + 0x14]
mov edx, ebx
and edx, 0xffff
mov dword [esp + 0x20], ebx
cmp edx, eax
jg 0x46c3f5
test byte [esi + 0x3d], 0x40
je 0x46bee1
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jne 0x46bec7
mov eax, dword [esi + 0x64]
mov dword [esi + 0x78], 0
cmp eax, 1
jne 0x46be92
add dword [esi + 0x68], 8
cmp eax, 2
jne 0x46be9b
add dword [esi + 0x68], 8
cmp eax, 3
jne 0x46bea4
add dword [esi + 0x68], 4
cmp eax, 4
jne 0x46bead
add dword [esi + 0x68], 2
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x58]
cmp ecx, edx
jl 0x46bec7
lea ecx, [eax + 1]
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edx
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x78]
imul eax, dword [esi + 0x68]
mov ecx, dword [esi + 0xac]
add eax, edx
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x78]
jmp 0x46bf05
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x54]
cmp edx, eax
jne 0x46bef9
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x78], 0
inc eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
imul eax, dword [esi + 0x6c]
add eax, ecx
inc ecx
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x98]
cmp eax, ecx
jg 0x46bad4
mov ecx, dword [esi + 0xac]
mov byte [ecx + eax], bl
jmp 0x46bad4
cmp ecx, dword [esp + 0x18]
jge 0x46c136
mov edx, dword [esp + 0x14]
xor eax, eax
mov ebx, ebp
mov ebp, dword [esp + 0x30]
cmp ecx, edx
jl 0x46bf71
mov ecx, ebx
and ecx, 0xffff
lea edx, [ecx + ecx*2]
lea ecx, [ebp + edx*2]
mov word [ecx + 4], ax
mov eax, ebx
ret
mov bx, word [ecx + 2]
cmp bx, ax
jae 0x46c40c
mov edx, dword [esp + 0x14]
mov ecx, ebx
and ecx, 0xffff
cmp ecx, edx
jge 0x46bf3f
test byte [esi + 0x3d], 0x40
je 0x46bfe1
mov edx, dword [esi + 0x78]
mov ecx, dword [esi + 0x54]
cmp edx, ecx
jne 0x46bfc7
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x78], 0
cmp ecx, 1
jne 0x46bf94
add dword [esi + 0x68], 8
cmp ecx, 2
jne 0x46bf9d
add dword [esi + 0x68], 8
cmp ecx, 3
jne 0x46bfa6
add dword [esi + 0x68], 4
cmp ecx, 4
jne 0x46bfaf
add dword [esi + 0x68], 2
mov edx, dword [esi + 0x68]
mov edi, dword [esi + 0x58]
cmp edx, edi
jl 0x46bfc7
inc ecx
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edx
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x78]
imul ecx, dword [esi + 0x68]
mov edx, dword [esi + 0xac]
add ecx, edi
mov byte [edx + ecx], bl
mov edx, dword [esi + 0x78]
jmp 0x46c005
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x54]
cmp ecx, edx
jne 0x46bff9
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x78], 0
inc ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
imul ecx, dword [esi + 0x6c]
add ecx, edx
inc edx
mov dword [esi + 0x78], edx
mov edx, dword [esi + 0x98]
cmp ecx, edx
jg 0x46c01c
mov edx, dword [esi + 0xac]
mov byte [edx + ecx], bl
test ax, ax
je 0x46c0ed
and eax, 0xffff
lea eax, [eax + eax*2]
mov dl, byte [ebp + eax*2]
inc ebp
add byte [ebp - 0x9ffba84], cl
inc esi
invalid
inc eax
je 0x46c0a5
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x54]
cmp ecx, eax
jne 0x46c08b
mov eax, dword [esi + 0x64]
mov dword [esi + 0x78], 0
cmp eax, 1
jne 0x46c058
add dword [esi + 0x68], 8
cmp eax, 2
jne 0x46c061
add dword [esi + 0x68], 8
cmp eax, 3
jne 0x46c06a
add dword [esi + 0x68], 4
cmp eax, 4
jne 0x46c073
add dword [esi + 0x68], 2
mov ecx, dword [esi + 0x68]
cmp ecx, dword [esi + 0x58]
jl 0x46c08b
lea ecx, [eax + 1]
mov eax, 0x10
sar eax, cl
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x78]
imul eax, dword [esi + 0x68]
add eax, ecx
mov ecx, dword [esi + 0xac]
mov byte [ecx + eax], dl
mov ecx, dword [esi + 0x78]
jmp 0x46c0c9
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jne 0x46c0bd
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x78], 0
add byte [eax], al
inc eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
imul eax, dword [esi + 0x6c]
inc esi
insb byte es:[edi], dx
add eax, ecx
inc ecx
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x98]
cmp eax, ecx
jg 0x46c0e0
mov ecx, dword [esi + 0xac]
mov byte [ecx + eax], dl
mov ax, word [edi + 4]
test ax, ax
jne 0x46c025
mov edx, dword [esp + 0x18]
mov cx, word [esp + 0x20]
lea eax, [edx + edx*2]
inc edx
mov dword [esp + 0x18], edx
lea eax, [ebp + eax*2]
mov byte [eax], bl
mov word [eax + 2], cx
mov ecx, dword [esi + 0x40]
mov eax, 1
shl eax, cl
cmp edx, eax
jne 0x46c11a
inc ecx
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x40]
mov eax, 0xc
cmp ecx, eax
jbe 0x46c129
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
jmp 0x46bad4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
mov ebx, ecx
and ecx, 0xffff
xor eax, eax
cmp ecx, edx
mov dword [esp + 0x34], ebx
jl 0x46c180
lea ecx, [ecx + ecx*2]
lea ecx, [ebp + ecx*2]
mov word [ecx + 4], ax
mov cx, word [ecx + 2]
mov eax, ebx
mov dword [esp + 0x34], ecx
cmp cx, ax
jae 0x46c423
mov ebx, dword [esp + 0x34]
and ecx, 0xffff
cmp ecx, edx
jge 0x46c154
test byte [esi + 0x3d], 0x40
je 0x46c1fc
mov edx, dword [esi + 0x78]
mov ecx, dword [esi + 0x54]
cmp edx, ecx
jne 0x46c1d9
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x78], 0
cmp ecx, 1
mov edi, 8
jne 0x46c1a7
add dword [esi + 0x68], edi
cmp ecx, 2
jne 0x46c1af
add dword [esi + 0x68], edi
cmp ecx, 3
jne 0x46c1b8
add dword [esi + 0x68], 4
cmp ecx, 4
jne 0x46c1c1
add dword [esi + 0x68], 2
mov edx, dword [esi + 0x68]
cmp edx, dword [esi + 0x58]
jl 0x46c1de
inc ecx
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x64], ecx
mov edi, 8
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x78]
imul ecx, dword [esi + 0x68]
add ecx, edx
mov edx, dword [esi + 0xac]
mov byte [edx + ecx], bl
mov edx, dword [esi + 0x78]
inc edx
mov dword [esi + 0x78], edx
jmp 0x46c229
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x54]
cmp ecx, edx
jne 0x46c214
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x78], 0
inc ecx
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
imul ecx, dword [esi + 0x6c]
add ecx, edx
inc edx
mov dword [esi + 0x78], edx
mov edi, 8
cmp ecx, dword [esi + 0x98]
jg 0x46c23a
mov edx, dword [esi + 0xac]
mov byte [edx + ecx], bl
test ax, ax
je 0x46c302
xor ecx, ecx
and eax, 0xffff
lea eax, [eax + eax*2]
mov bl, byte [ebp + eax*2]
lea edx, [ebp + eax*2]
test byte [esi + 0x3d], 0x40
mov eax, dword [esi + 0x78]
je 0x46c2bd
cmp eax, dword [esi + 0x54]
jne 0x46c2a3
mov eax, dword [esi + 0x64]
mov dword [esi + 0x78], ecx
cmp eax, 1
jne 0x46c271
add dword [esi + 0x68], edi
cmp eax, 2
jne 0x46c279
add dword [esi + 0x68], edi
cmp eax, 3
jne 0x46c282
add dword [esi + 0x68], 4
cmp eax, 4
jne 0x46c28b
add dword [esi + 0x68], 2
mov ecx, dword [esi + 0x68]
cmp ecx, dword [esi + 0x58]
jl 0x46c2a3
lea ecx, [eax + 1]
mov eax, 0x10
sar eax, cl
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x78]
imul eax, dword [esi + 0x68]
add eax, ecx
mov ecx, dword [esi + 0xac]
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x78]
jmp 0x46c2d8
cmp eax, dword [esi + 0x54]
jne 0x46c2cc
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x78], ecx
inc eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
imul eax, dword [esi + 0x6c]
add eax, ecx
inc ecx
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x98]
add byte [eax], al
cmp eax, ecx
jg 0x46c2ef
mov ecx, dword [esi + 0xac]
mov byte [ecx + eax], bl
mov ax, word [edx + 4]
xor ecx, ecx
cmp ax, cx
jne 0x46c245
mov ebx, dword [esp + 0x34]
mov al, byte [esi + 0x3d]
mov edx, dword [esi + 0x78]
test al, 0x40
mov eax, dword [esi + 0x54]
je 0x46c373
cmp edx, eax
jne 0x46c359
mov eax, dword [esi + 0x64]
mov dword [esi + 0x78], 0
cmp eax, 1
jne 0x46c325
add dword [esi + 0x68], edi
cmp eax, 2
jne 0x46c32d
add dword [esi + 0x68], edi
cmp eax, 3
jne 0x46c336
add dword [esi + 0x68], 4
cmp eax, 4
jne 0x46c33f
add dword [esi + 0x68], 2
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x58]
cmp ecx, edx
jl 0x46c359
lea ecx, [eax + 1]
mov edx, 0x10
sar edx, cl
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edx
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x78]
imul eax, dword [esi + 0x68]
mov ecx, dword [esi + 0xac]
add eax, edx
mov byte [ecx + eax], bl
mov ecx, dword [esi + 0x78]
jmp 0x46c391
cmp edx, eax
jne 0x46c385
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x78], 0
inc eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
imul eax, dword [esi + 0x6c]
add eax, ecx
inc ecx
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x98]
cmp eax, ecx
jg 0x46c3a8
mov ecx, dword [esi + 0xac]
mov byte [ecx + eax], bl
mov edx, dword [esp + 0x18]
mov cx, word [esp + 0x20]
lea eax, [edx + edx*2]
inc edx
mov dword [esp + 0x18], edx
lea eax, [ebp + eax*2]
mov byte [eax], bl
mov word [eax + 2], cx
mov ecx, dword [esi + 0x40]
mov eax, 1
shl eax, cl
cmp edx, eax
jne 0x46c3d5
inc ecx
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x40]
mov eax, 0xc
cmp ecx, eax
jbe 0x46c129
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x40], eax
mov dword [esp + 0x20], ecx
jmp 0x46bad4
mov edx, dword [esp + 0x24]
push edx
call 0x494dee
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x24]
push eax
call 0x494dee
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x24]
push ecx
call 0x494dee
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
cmp dword [esi + 0xe8], 1
jne 0x46c46a
mov eax, dword [esi + 0x98]
mov edx, dword [esp + 0x24]
add eax, 0x6428
xor edi, edi
mov dword [esi + 0xf0], eax
mov eax, edi
mov dword [esi + 0xec], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xa4]
push 0
push ebx
push ecx
push 4
push ebx
push edx
call dword [0x474084]
mov ebp, dword [esi + 0xb4]
mov edx, dword [esi + 0x94]
inc ebp
inc edx
push ebx
mov edi, eax
mov dword [esi + 0xb4], ebp
invalid