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

Disassembly:
push 0xffffffffffffffff
push 0x4ebff8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc8]
mov ebp, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.0043c7f0
mov ecx, dword [ebp + 0x30]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0xc4], 0
call fcn.004a5ad0
lea ecx, [ebp + 0x78]
call fcn.004af360
push esi
mov ecx, ebp
call fcn.004a5930
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp esi, eax
jbe 0x4a650e
call fcn.004caf0d
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
lea ebx, [esi + 0x18]
mov esi, eax
cmp dword [esp + 0x24], eax
jbe 0x4a6522
call fcn.004caf0d
test edi, edi
je 0x4a652c
cmp edi, dword [esp + 0x18]
je 0x4a6531
call fcn.004caf0d
lea eax, [ebx - 0x18]
cmp eax, esi
je 0x4a6698
test edi, edi
jne 0x4a667f
call fcn.004caf0d
xor eax, eax
lea ecx, [ebx - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4a6558
call fcn.004caf0d
mov esi, dword [ebx]
mov eax, esi
cmp eax, esi
jae 0x4a6560
mov ecx, esi
cmp esi, 3
jb 0x4a656c
mov ecx, 3
cmp dword [ebx + 4], 0x10
lea eax, [ebx - 0x10]
jb 0x4a6577
mov eax, dword [eax]
push ecx
push 0x420c00
push eax
call fcn.00427de0
add esp, 0xc
test eax, eax
jne 0x4a659d
cmp esi, 3
jb 0x4a659d
cmp esi, 3
setne al
test eax, eax
je 0x4a665b
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x34], 0x41c480
mov byte [esp + 0xc0], 1
test edi, edi
jne 0x4a6686
call fcn.004caf0d
xor eax, eax
lea ecx, [ebx - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4a65de
call fcn.004caf0d
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0x30]
lea esi, [ebx - 0x18]
push esi
call fcn.004a2070
test edi, edi
jne 0x4a668d
call fcn.004caf0d
xor eax, eax
lea ecx, [ebx - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4a660b
call fcn.004caf0d
mov edx, dword [ebx]
push 3
push 0x420c00
push edx
push 0
lea ecx, [ebx - 0x14]
call fcn.004295b0
test eax, eax
je 0x4a6637
push esi
mov ecx, ebp
call fcn.004a5930
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.004a5930
cmp dword [esp + 0x50], 0x10
mov byte [esp + 0xc0], 0
mov dword [esp + 0x34], 0x41c480
jb 0x4a665b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004cada5
add esp, 4
test edi, edi
jne 0x4a6694
call fcn.004caf0d
xor eax, eax
lea ecx, [ebx - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4a6673
call fcn.004caf0d
mov eax, dword [esp + 0x28]
add ebx, 0x20
jmp 0x4a6515
mov eax, dword [edi]
jmp 0x4a654b
mov eax, dword [edi]
jmp 0x4a65d1
mov eax, dword [edi]
jmp 0x4a65fe
mov eax, dword [edi]
jmp 0x4a6666
mov eax, 0x420c00
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a66b5
sub eax, edx
push eax
push 0x420c00
lea ecx, [esp + 0x40]
call fcn.0042bda0
mov edi, 0x41c480
mov dword [esp + 0x34], edi
mov ecx, dword [ebp + 0x30]
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0xc4], 2
call fcn.00484500
cmp dword [esp + 0x50], 0x10
mov esi, eax
mov byte [esp + 0xc0], 0
mov dword [esp + 0x34], edi
jb 0x4a670d
mov eax, dword [esp + 0x3c]
push eax
call fcn.004cada5
add esp, 4
lea ecx, [ebp + 0x78]
call fcn.004af370
cmp eax, esi
sete bl
push 0x4186a1
mov ecx, ebp
mov byte [esp + 0x1b], bl
call fcn.00466fc0
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x24], eax
mov word [ebp + 0x20], cx
test bl, bl
je 0x4a696a
mov dword [esp + 0x4c], eax
mov ebx, 0xf
mov eax, 0x420cb0
mov dword [esp + 0x50], ebx
mov byte [esp + 0x3c], cl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a6760
sub eax, edx
push eax
push 0x420cb0
lea ecx, [esp + 0x40]
call fcn.0042bda0
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc8], 3
call fcn.00468e60
mov esi, 0x10
mov byte [esp + 0xc0], 5
mov dword [esp + 0x34], edi
cmp dword [esp + 0x50], esi
jb 0x4a67bb
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004cada5
add esp, 4
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.00469100
lea eax, [esp + 0x54]
mov bl, 6
push eax
mov ecx, ebp
mov byte [esp + 0xc4], bl
call fcn.00466f80
lea ecx, [esp + 0x74]
call fcn.00468d80
test al, al
jne 0x4a6927
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x78]
call fcn.00469100
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 7
call fcn.00466f80
mov byte [esp + 0xc0], bl
mov dword [esp + 0x34], edi
cmp dword [esp + 0x50], esi
jb 0x4a683e
mov edx, dword [esp + 0x3c]
push edx
call fcn.004cada5
add esp, 4
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x4a684c
lea eax, [esp + 0x5c]
push eax
call fcn.004ce49b
add esp, 4
lea ecx, [esp + 0x74]
mov word [ebp + 0x20], ax
call fcn.00468d80
test al, al
jne 0x4a6927
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x78]
call fcn.00469100
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 8
call fcn.00466f80
mov byte [esp + 0xc0], bl
mov dword [esp + 0x34], edi
cmp dword [esp + 0x50], esi
jb 0x4a68a8
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004cada5
add esp, 4
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x4a68b6
lea eax, [esp + 0x5c]
push eax
call fcn.004ce49b
add esp, 4
lea ecx, [esp + 0x74]
mov dword [ebp + 0x24], eax
call fcn.00468d80
test al, al
jne 0x4a6927
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x78]
call fcn.00469100
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xc4], 9
call fcn.00466f80
mov byte [esp + 0xc0], bl
mov dword [esp + 0x34], edi
cmp dword [esp + 0x50], esi
jb 0x4a690d
mov eax, dword [esp + 0x3c]
push eax
call fcn.004cada5
add esp, 4
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x4a691b
lea eax, [esp + 0x5c]
push eax
call fcn.004ce4b1
add esp, 4
mov dword [ebp + 0x28], eax
mov dword [esp + 0x54], edi
cmp dword [esp + 0x70], esi
jb 0x4a693e
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004cada5
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0xc0], 0
call fcn.00476610
mov bl, byte [esp + 0x17]
xor eax, eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc0], 0xa
cmp esi, eax
je 0x4a69a8
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x4a699d
jmp 0x4a6989
xor eax, eax
mov edx, dword [esi]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
add esi, 0x20
cmp esi, edi
jne 0x4a6987
mov esi, dword [esp + 0x24]
push esi
call fcn.004cada5
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.004cada5
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004cb3aa
add esp, 0xb0
ret 4