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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
test ecx, ecx
je 0x4a3c95
nop dword [eax]
movzx edx, word [eax]
add eax, 2
inc word [esp + edx*2 + 0x30]
dec ecx
jne 0x4a3c60
movzx eax, word [esp + 0x4e]
mov ecx, dword [esi]
mov edi, 0xf
test ax, ax
jne 0x4a3d60
cmp word [esp + 0x4c], 0
je 0x4a3c9f
mov edi, 0xe
jmp 0x4a3d5e
mov ecx, dword [esi]
cmp word [esp + 0x4c], 0
jne 0x4a3c8b
cmp word [esp + 0x4a], 0
je 0x4a3cb1
mov edi, 0xd
jmp 0x4a3d5e
cmp word [esp + 0x48], 0
je 0x4a3cc3
mov edi, 0xc
jmp 0x4a3d5e
cmp word [esp + 0x46], 0
je 0x4a3cd5
mov edi, 0xb
jmp 0x4a3d5e
cmp word [esp + 0x44], 0
je 0x4a3ce4
mov edi, 0xa
jmp 0x4a3d5e
cmp word [esp + 0x42], 0
je 0x4a3cf3
mov edi, 9
jmp 0x4a3d5e
cmp word [esp + 0x40], 0
je 0x4a3d02
mov edi, 8
jmp 0x4a3d5e
cmp word [esp + 0x3e], 0
je 0x4a3d11
mov edi, 7
jmp 0x4a3d5e
cmp word [esp + 0x3c], 0
je 0x4a3d20
mov edi, 6
jmp 0x4a3d5e
cmp word [esp + 0x3a], 0
je 0x4a3d2f
mov edi, 5
jmp 0x4a3d5e
cmp word [esp + 0x38], 0
je 0x4a3d3e
mov edi, 4
jmp 0x4a3d5e
cmp word [esp + 0x36], 0
je 0x4a3d4d
mov edi, 3
jmp 0x4a3d5e
cmp word [esp + 0x34], 0
je 0x4a42e8
mov edi, 2
xor eax, eax
cmp ecx, edi
mov dword [esp + 8], eax
mov eax, 1
cmova ecx, edi
nop
cmp word [esp + eax*2 + 0x30], 0
jne 0x4a3d7d
inc eax
cmp eax, edi
jb 0x4a3d70
cmp ecx, eax
mov esi, 2
mov edx, 0xffffffff
cmovb ecx, eax
mov dword [esp + 0xc], ecx
movzx ecx, word [esp + 0x32]
sub esi, ecx
js 0x4a42de
movzx ebx, word [esp + 0x34]
add esi, esi
sub esi, ebx
mov dword [esp + 0x74], ebx
js 0x4a42de
movzx ebx, word [esp + 0x36]
add esi, esi
sub esi, ebx
js 0x4a42de
mov dword [esp + 0x70], ebx
movzx ebx, word [esp + 0x38]
add esi, esi
sub esi, ebx
mov dword [esp + 0x20], ebx
js 0x4a42de
movzx ebx, word [esp + 0x3a]
add esi, esi
sub esi, ebx
js 0x4a42de
mov dword [esp + 4], ebx
movzx ebx, word [esp + 0x3c]
add esi, esi
sub esi, ebx
mov dword [esp], ebx
js 0x4a42de
movzx ebx, word [esp + 0x3e]
add esi, esi
sub esi, ebx
js 0x4a42de
mov dword [esp + 0x1c], ebx
movzx ebx, word [esp + 0x40]
add esi, esi
sub esi, ebx
mov dword [esp + 0x18], ebx
js 0x4a42de
movzx ebx, word [esp + 0x42]
add esi, esi
sub esi, ebx
js 0x4a42de
mov dword [esp + 0x2c], ebx
movzx ebx, word [esp + 0x44]
add esi, esi
sub esi, ebx
mov dword [esp + 0x6c], ebx
js 0x4a42de
movzx ebx, word [esp + 0x46]
add esi, esi
sub esi, ebx
js 0x4a42de
mov dword [esp + 0x68], ebx
movzx ebx, word [esp + 0x48]
add esi, esi
sub esi, ebx
mov dword [esp + 0x14], ebx
js 0x4a42de
movzx ebx, word [esp + 0x4a]
add esi, esi
sub esi, ebx
js 0x4a42de
mov dword [esp + 0x64], ebx
movzx ebx, word [esp + 0x4c]
add esi, esi
sub esi, ebx
mov dword [esp + 0x28], ebx
js 0x4a42de
movzx ebx, word [esp + 8]
add esi, esi
sub esi, ebx
js 0x4a42de
mov ebx, dword [ebp + 0x14]
test esi, esi
je 0x4a3ebc
cmp dword [ebp + 8], 0
je 0x4a42de
cmp edi, 1
jne 0x4a42de
mov edx, dword [esp + 0x74]
mov word [esp + 0x7a], 0
mov word [esp + 0x7c], cx
add edx, ecx
mov ecx, dword [esp + 0x70]
mov word [esp + 0x7e], dx
add ecx, edx
mov edx, dword [esp + 0x20]
mov word [esp + 0x80], cx
add edx, ecx
mov ecx, dword [esp + 4]
mov word [esp + 0x82], dx
add ecx, edx
mov edx, dword [esp]
mov word [esp + 0x84], cx
add edx, ecx
mov ecx, dword [esp + 0x1c]
mov word [esp + 0x86], dx
add ecx, edx
mov edx, dword [esp + 0x18]
mov word [esp + 0x88], cx
add edx, ecx
mov ecx, dword [esp + 0x2c]
mov word [esp + 0x8a], dx
add ecx, edx
mov edx, dword [esp + 0x6c]
mov word [esp + 0x8c], cx
add edx, ecx
mov ecx, dword [esp + 0x68]
mov word [esp + 0x8e], dx
add ecx, edx
mov edx, dword [esp + 0x14]
mov word [esp + 0x90], cx
add edx, ecx
mov ecx, dword [esp + 0x64]
mov word [esp + 0x92], dx
add ecx, edx
mov edx, dword [esp + 0x28]
mov word [esp + 0x94], cx
add edx, ecx
mov word [esp + 0x96], dx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4a3fad
xor ecx, ecx
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + ecx*2]
test edx, edx
je 0x4a3fa5
movzx esi, word [esp + edx*2 + 0x78]
lea ebx, [esi + 1]
mov word [esp + edx*2 + 0x78], bx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov word [edx + esi*2], cx
mov edx, dword [ebp + 0x10]
inc ecx
cmp edx, ecx
jne 0x4a3f83
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4a3ff8
cmp ecx, 1
jne 0x4a4024
cmp dword [esp + 0xc], 9
mov edx, 1
mov dword [esp], 0
ja 0x4a42de
mov cl, 1
mov dword [esp + 0x14], 0x101
mov dword [esp + 0x60], 0x526cea
mov dword [esp + 0x5c], 0x526cac
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], ecx
jmp 0x4a4071
mov ecx, dword [ebp + 0x1c]
mov dword [esp], 0
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
jmp 0x4a4071
cmp ecx, 2
mov dword [esp], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x60], 0x526d68
mov dword [esp + 0x5c], 0x526d28
sete cl
mov dword [esp + 0x54], ecx
jne 0x4a4069
cmp dword [esp + 0xc], 9
mov edx, 1
mov dword [esp + 0x24], 0
ja 0x4a42de
jmp 0x4a4071
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [ebx]
mov edx, 1
xor ebx, ebx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp + 0x64], edi
shl edx, cl
mov dword [esp + 0x58], edx
dec edx
mov dword [esp + 0x98], edx
jmp 0x4a40de
mov edi, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], esi
lea ebx, [ebx + edx*4]
mov edx, dword [edi]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xc]
mov byte [edx + esi*4], cl
mov edx, dword [edi]
mov byte [edx + esi*4 + 1], bl
mov ebx, dword [esp + 0x10]
mov edx, dword [edi]
sub ebx, edx
shr ebx, 2
mov word [edx + esi*4 + 2], bx
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edx, 1
mov dword [esp + 0x10], esi
shl edx, cl
lea ecx, [esi + 2]
mov dword [esp + 0x6c], ecx
mov ecx, edx
mov dword [esp + 0x2c], edx
neg edx
mov dword [esp + 0x68], edx
mov edx, dword [esp]
mov ecx, eax
mov esi, dword [esp + 0x14]
mov dword [esp], edx
sub ecx, dword [esp + 4]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x1c]
movzx ecx, word [ecx + edx*2]
mov dword [esp + 0x20], ecx
movzx ecx, cx
lea edx, [ecx + 1]
cmp edx, esi
jae 0x4a412f
mov dword [esp + 0x18], 0
jmp 0x4a415e
mov edx, esi
cmp esi, ecx
jbe 0x4a4145
mov cl, 0x60
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
jmp 0x4a415e
sub ecx, edx
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov dl, byte [edx + ecx*2]
movzx ecx, word [esi + ecx*2]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov edx, 1
mov esi, ebx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x20]
shl edx, cl
mov ecx, dword [esp + 4]
shr esi, cl
mov ecx, dword [esp + 0x6c]
add esi, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
sub esi, edx
lea edx, [edx*4]
lea ecx, [ecx + esi*4]
mov esi, dword [esp + 0x18]
neg edx
mov dword [esp + 0x70], edx
nop
mov edx, esi
mov byte [ecx - 2], dl
mov edx, dword [esp + 8]
mov byte [ecx - 1], dl
mov word [ecx], di
add ecx, dword [esp + 0x70]
add ebx, dword [esp + 0x74]
jne 0x4a41a0
mov esi, dword [esp + 0x1c]
mov ecx, eax
mov edx, 1
dec cl
shl edx, cl
nop dword [eax + eax]
mov ecx, edx
shr edx, 1
test ecx, esi
jne 0x4a41d0
lea edx, [ecx - 1]
mov edi, dword [esp + 0x64]
and edx, esi
add edx, ecx
test ecx, ecx
mov ebx, edx
mov edx, dword [ebp + 0x14]
cmove ebx, ecx
dec word [esp + eax*2 + 0x30]
mov ecx, dword [ebp + 0x18]
je 0x4a41fc
mov edx, dword [esp]
jmp 0x4a4216
cmp eax, edi
je 0x4a42b2
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp]
mov ecx, dword [ebp + 0xc]
movzx eax, word [eax + edx*2 + 2]
movzx eax, word [ecx + eax*2]
inc edx
cmp eax, dword [esp + 0xc]
jbe 0x4a40ff
mov esi, ebx
and esi, dword [esp + 0x98]
cmp esi, dword [esp + 0x28]
je 0x4a40ff
mov dword [esp], edx
mov edx, dword [esp + 4]
mov ecx, eax
mov dword [esp + 0x1c], ebx
test edx, edx
cmove edx, dword [esp + 0xc]
mov dword [esp + 4], edx
sub ecx, edx
mov edx, 1
shl edx, cl
cmp eax, edi
jae 0x4a4276
mov ecx, eax
movzx ebx, word [esp + ecx*2 + 0x30]
sub edx, ebx
jle 0x4a426b
inc ecx
add edx, edx
cmp ecx, edi
jb 0x4a425b
sub ecx, dword [esp + 4]
mov edx, 1
shl edx, cl
mov ebx, dword [esp + 0x58]
add ebx, edx
mov edx, 1
cmp ebx, 0x354
mov dword [esp + 0x58], ebx
seta byte [esp + 8]
cmp ebx, 0x250
mov bh, byte [esp + 8]
seta bl
test byte [esp + 0x24], bh
jne 0x4a42de
and bl, byte [esp + 0x54]
mov ebx, dword [ebp + 0x14]
je 0x4a40a2
jmp 0x4a42de
test ebx, ebx
je 0x4a42cd
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov byte [esi + ebx*4], 0x40
mov byte [esi + ebx*4 + 1], al
mov word [esi + ebx*4 + 2], 0
mov eax, dword [esp + 0x58]
shl eax, 2
add dword [edx], eax
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
xor edx, edx
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp word [esp + 0x32], 0
je 0x4a4310
xor eax, eax
test ecx, ecx
mov edi, 1
mov dword [esp + 8], 0
setne al
mov ecx, eax
mov eax, 1
jmp 0x4a3d7d
mov eax, dword [ebx]
lea ecx, [eax + 4]
mov dword [ebx], ecx
mov dword [eax], 0x140
mov eax, dword [ebx]
lea ecx, [eax + 4]
mov dword [ebx], ecx
mov dword [eax], 0x140
mov dword [esi], 1
jmp 0x4a42dc