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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], edi
call fcn.004719e7
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x6c]
push ecx
push dword [eax]
push edi
call fcn.004815c9
test al, al
mov ecx, dword [ebp + 8]
jne 0x48166f
push dword [ebp + 0x10]
mov eax, esi
mov edx, edi
call fcn.00481e14
jmp 0x481e0b
mov eax, dword [esi]
call fcn.004719e7
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x254]
inc dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov dword [esp + 0x38], 0x46abac
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebx
call fcn.004719e7
cmp dword [eax + 8], 0x47
je 0x4816ce
push dword [esp + 0x64]
push 0x6f
jmp 0x481def
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
lea ecx, [esp + 0x20]
push edi
call fcn.00481567
test eax, eax
jne 0x481df6
mov eax, dword [esp + 0x60]
call fcn.0045f14c
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
jle 0x48192e
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jae 0x48192e
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc dword [esp + 0x34]
mov ecx, esi
mov byte [esp + 0x13], 0
mov dword [esp + 0x24], ebx
call fcn.004719e7
cmp dword [eax + 8], ebx
jne 0x48186f
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.004719e7
cmp dword [eax], 0x23
jne 0x481763
mov byte [esp + 0x13], 1
jmp 0x48177f
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.004719e7
cmp dword [eax], 0x1e
jne 0x4819d7
mov dword [esp + 0x24], 0x100
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.004719e7
cmp dword [eax + 8], ebx
je 0x48174c
cmp byte [esp + 0x13], 0
je 0x48186f
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.004719e7
cmp dword [eax + 8], 0x33
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
jne 0x4819e3
call fcn.004719e7
push dword [eax]
lea esi, [esp + 0x7c]
call fcn.00465bea
lea eax, [esp + 0x58]
push eax
xor ecx, ecx
lea esi, [esp + 0x30]
lea edi, [esp + 0x7c]
call fcn.004659a6
push dword [esp + 0x78]
mov bl, al
neg bl
sbb bl, bl
inc bl
call 0x4a5ea2
test bl, bl
pop ecx
jne 0x4819ed
mov eax, 0x100
test dword [esp + 0x2c], eax
je 0x48180e
test dword [esp + 0x24], eax
je 0x481a07
inc dword [esp + 0x18]
mov eax, dword [esp + 0x58]
inc dword [esp + 0xc]
cmp dword [eax + 8], 5
jne 0x48184e
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.004719e7
cmp dword [eax + 8], 0x4e
jne 0x48184e
push dword [esp + 0x28]
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x5c]
lea eax, [esp + 0x1c]
call fcn.00485ac3
test eax, eax
jne 0x481df6
push dword [esp + 0x58]
lea esi, [esp + 0x4c]
call fcn.004680ad
mov eax, esi
push eax
lea esi, [esp + 0x3c]
call fcn.00466b49
mov edi, dword [esp + 0x28]
xor ebx, ebx
jmp 0x4818d4
push ebx
lea esi, [esp + 0x4c]
call fcn.004679ab
mov eax, esi
push eax
lea esi, [esp + 0x3c]
call fcn.00466b49
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x481894
call fcn.00485224
jmp 0x48189c
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + eax*4 - 4]
push dword [esp + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call fcn.004869d5
test eax, eax
jne 0x481df6
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
cmp dword [eax + 8], 0x41
jne 0x4818d4
add dword [esp + 0xc], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x48192e
mov ecx, dword [ebp + 8]
call fcn.004719e7
cmp dword [eax + 8], 0x40
mov eax, dword [esp + 0x18]
jne 0x481a1d
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x20]
je 0x481a1d
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
call fcn.004719e7
cmp dword [eax + 8], 0x40
jne 0x48191c
inc dword [esp + 0xc]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jl 0x481719
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x84]
jl 0x481de9
cmp eax, dword [esp + 0x30]
jg 0x481de9
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x481de9
mov dword [esp + 0xc], 3
call fcn.00465a03
xor eax, eax
inc eax
cmp dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
jl 0x481b1b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
or dword [esp + 0x90], 0xffffffff
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x68], 0x46a358
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x13], bl
call fcn.004719e7
cmp dword [eax + 8], esi
jne 0x481b97
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
cmp dword [eax], 0x23
jne 0x481a2d
mov byte [esp + 0x13], 1
jmp 0x481a4b
push 0xffffffffffffffff
push 0x91
jmp 0x481def
call fcn.004719e7
push dword [eax + 0xc]
jmp 0x4819d9
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.004719e7
push dword [eax + 0xc]
push 0x79
mov ebx, dword [esp + 0x30]
jmp 0x481df1
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.004719e7
push dword [eax + 0xc]
push 0xb0
jmp 0x4819fe
mov ecx, dword [ebp + 8]
call fcn.004719e7
push dword [eax + 0xc]
jmp 0x4816c7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
cmp dword [eax], 0x1e
jne 0x481a4f
mov dword [esp + 0x24], 0x100
mov ebx, dword [esp + 0x24]
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
cmp dword [eax + 8], esi
je 0x4819be
cmp byte [esp + 0x13], 0
je 0x481b97
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
push dword [eax]
lea esi, [esp + 0xa8]
call fcn.00465bea
mov eax, dword [esp + 0x1c]
dec eax
lea ecx, [esp + 0x38]
call fcn.0045d5f1
cmp dword [eax + 8], 6
jne 0x481aa3
mov eax, dword [eax]
jmp 0x481aa5
xor eax, eax
cmp dword [0x47fdfc], 0
je 0x481ad6
test eax, eax
je 0x481ad6
push eax
mov eax, 0x47fdfc
or ebx, 0x200
call fcn.00465b6b
push eax
mov eax, ebx
lea ecx, [esp + 0xac]
call fcn.00467056
mov bl, 1
jmp 0x481ad8
xor bl, bl
push dword [esp + 0xa4]
call 0x4a5ea2
test bl, bl
pop ecx
je 0x481d4d
add dword [esp + 0xc], 2
lea ecx, [esp + 0x88]
call fcn.00466ce7
lea ecx, [esp + 0x68]
call fcn.0045efb8
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jle 0x481975
xor ebx, ebx
mov eax, dword [esp + 0x34]
lea esi, [edi + 0x238]
push ebx
mov dword [edi + 0x254], eax
mov word [edi + 0x18e], bx
call fcn.004679ab
push ebx
xor ecx, ecx
mov eax, edi
call fcn.004718cb
movzx eax, word [edi + 0x18e]
test al, 4
mov dword [edi + 0x250], ebx
je 0x481b5d
xor eax, 4
mov word [edi + 0x18e], ax
mov eax, dword [esp + 0x60]
push ebx
inc eax
push eax
mov ecx, edi
call fcn.00471677
test byte [edi + 0x18e], 1
je 0x481d7d
mov ebx, dword [ebp + 0x10]
push esi
call fcn.004677f7
xor word [edi + 0x18e], 1
push 1
call fcn.004679ab
xor ebx, ebx
jmp 0x481d86
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x1c], eax
jle 0x481c9d
lea esi, [esp + 0x68]
call fcn.0045f06e
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
and dword [esp + 0x2c], 0
add esi, 2
mov eax, esi
call fcn.004719e7
cmp dword [eax + 8], 0x4a
je 0x481be0
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.004719e7
cmp dword [eax + 8], 0x49
je 0x481be0
mov eax, esi
jmp 0x481bfc
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.004719e7
push eax
lea ebx, [esp + 0x6c]
call fcn.0045efd7
mov eax, dword [esp + 0xc]
add eax, 3
mov ecx, dword [esp + 0x14]
call fcn.004719e7
push eax
lea ebx, [esp + 0x6c]
call fcn.0045efd7
push 0x7f
pop edi
lea esi, [esp + 0x88]
call fcn.00466d32
mov eax, esi
push eax
call fcn.0045efd7
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, ebx
push eax
call fcn.004869d5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
push dword [eax]
lea esi, [esp + 0x9c]
call fcn.00465bea
mov eax, dword [esp + 0x24]
or eax, 0x200
cmp dword [0x47fdfc], 0
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, esi
push eax
jne 0x481c7b
push 0x47fdf8
jmp 0x481c86
mov eax, 0x47fdfc
call fcn.00465b6b
push eax
call fcn.00466fc3
push dword [esp + 0x98]
call 0x4a5ea2
mov edi, dword [esp + 0x2c]
jmp 0x481cf7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
push dword [eax]
lea esi, [esp + 0x7c]
call fcn.00465bea
mov eax, dword [esp + 0x1c]
or ebx, 0x200
dec eax
lea ecx, [esp + 0x38]
call fcn.0045d5f1
cmp dword [0x47fdfc], 0
push ebx
push eax
mov eax, esi
push eax
jne 0x481cde
push 0x47fdf8
jmp 0x481ce9
mov eax, 0x47fdfc
call fcn.00465b6b
push eax
call fcn.00466fc3
push dword [esp + 0x78]
call 0x4a5ea2
mov eax, dword [esp + 0x10]
pop ecx
mov ecx, dword [esp + 0x14]
inc eax
call fcn.004719e7
cmp dword [eax + 8], 0x41
jne 0x481aed
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add esi, 2
mov eax, esi
call fcn.004719e7
cmp dword [eax + 8], 0x4a
je 0x481d43
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.004719e7
cmp dword [eax + 8], 0x49
je 0x481d43
add dword [esp + 0xc], 4
jmp 0x481af2
add dword [esp + 0xc], 5
jmp 0x481af2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.004719e7
push dword [eax + 0xc]
mov ebx, edi
push 0x79
call fcn.0046ff7b
lea ecx, [esp + 0x88]
call fcn.00466ce7
lea ecx, [esp + 0x68]
call fcn.0045efb8
jmp 0x481df6
mov esi, dword [ebp + 0x10]
push ebx
call fcn.004679ab
movzx eax, word [edi + 0x18e]
test al, 2
je 0x481d9d
xor eax, 2
mov word [edi + 0x18e], ax
jmp 0x481da7
push ebx
xor ecx, ecx
mov eax, edi
call fcn.004718cb
movzx eax, word [edi + 0x18e]
test al, 4
je 0x481dbe
xor eax, 4
mov word [edi + 0x18e], ax
jmp 0x481dc4
mov dword [edi + 0x250], ebx
call fcn.00465a5d
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x48]
mov dword [edi + 0x254], eax
call fcn.0046737e
lea ecx, [esp + 0x38]
call fcn.00466b2a
xor eax, eax
jmp 0x481e0b
push dword [esp + 0x64]
push 0x70
mov ebx, edi
call fcn.0046ff7b
lea ecx, [esp + 0x48]
call fcn.0046737e
lea ecx, [esp + 0x38]
call fcn.00466b2a
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc