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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8c77
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x51f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
or dword [esi + 0x84], 1
cmp dword [esi + 8], 0x5206e0
jne 0x4a5b85
push 0x1c
call fcn.00482680
add esp, 4
test eax, eax
je 0x4a5b80
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x4a5b82
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
push edi
call fcn.00402c40
mov edi, dword [ebx + 4]
cmp dword [edi + 0x10], 0
je 0x4a5bde
or dword [esi + 0x84], 2
cmp dword [esi + 0xc], 0x5206e0
jne 0x4a5bd1
push 0x1c
call fcn.00482680
add esp, 4
test eax, eax
je 0x4a5bcc
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x4a5bce
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
push edi
call fcn.00402c40
cmp dword [ebx + 0xc], 0
mov dword [ebp + 8], 0
jle 0x4a5c54
jmp 0x4a5bf0
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x10], edx
cmp eax, ecx
jge 0x4a5c14
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esi + 0x14], eax
jmp 0x4a5c3b
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x4a5c25
inc eax
push eax
lea ecx, [esi + 0x10]
call fcn.0049c030
inc dword [esi + 0x18]
call fcn.0049c0b0
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
inc dword [esi + 0x14]
mov ecx, eax
mov edx, dword [ebp - 0x10]
push 0xffffffffffffffff
push 0
push edx
call fcn.00402c40
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0xc]
jl 0x4a5bf0
mov eax, dword [ebx + 0x14]
mov dword [ebp + 8], 0
test eax, eax
jle 0x4a5d07
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x1c], edx
cmp dword [esi + 0x24], eax
jne 0x4a5ce8
mov ecx, dword [esi + 0x28]
inc eax
mov dword [ebp - 0x14], eax
cmp ecx, eax
jge 0x4a5ce8
mov edx, dword [esi + 0x20]
add ecx, ecx
cmp ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x14]
jl 0x4a5c9a
lea eax, [ebp - 0x18]
cmp dword [eax], 4
jg 0x4a5ca4
mov eax, 0x504338
mov edi, dword [eax]
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
mov dword [esi + 0x28], edi
neg ecx
or ecx, eax
push ecx
call fcn.004830f5
add esp, 4
cmp dword [ebp - 0x10], 0
mov dword [esi + 0x20], eax
je 0x4a5ce8
mov ecx, dword [esi + 0x24]
mov edi, dword [ebp - 0x10]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
call fcn.004868f0
push edi
call fcn.004834d8
add esp, 0x10
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 8]
inc dword [esi + 0x24]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0x14]
jl 0x4a5c66
cmp dword [ebx + 0x1c], 0
mov dword [ebp + 8], 0
jle 0x4a5db9
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x20]
mov ecx, dword [edx + eax*4]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x14], ecx
cmp dword [esi + 0x30], eax
jne 0x4a5d9a
mov ecx, dword [esi + 0x34]
inc eax
mov dword [ebp - 0x1c], eax
cmp ecx, eax
jge 0x4a5d9a
mov edx, dword [esi + 0x2c]
add ecx, ecx
cmp ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
jl 0x4a5d4c
lea eax, [ebp - 0x18]
cmp dword [eax], 4
jg 0x4a5d56
mov eax, 0x504338
mov edi, dword [eax]
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
mov dword [esi + 0x34], edi
neg ecx
or ecx, eax
push ecx
call fcn.004830f5
add esp, 4
cmp dword [ebp - 0x10], 0
mov dword [esi + 0x2c], eax
je 0x4a5d9a
mov ecx, dword [esi + 0x30]
mov edi, dword [ebp - 0x10]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
call fcn.004868f0
push edi
call fcn.004834d8
add esp, 0x10
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 8]
inc dword [esi + 0x30]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0x1c]
jl 0x4a5d18
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0x10], 0
jle 0x4a5e4d
mov dword [ebp + 8], 0
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
cmp ecx, eax
jge 0x4a5de7
mov edx, dword [esi + 0x38]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [esi + 0x3c], ecx
jmp 0x4a5e31
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jne 0x4a5df8
inc ecx
push ecx
lea ecx, [esi + 0x38]
call fcn.0049c030
inc dword [esi + 0x40]
push 0x68
call fcn.00482680
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4a5e1c
mov ecx, eax
call fcn.004c5110
jmp 0x4a5e1e
xor eax, eax
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x3c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x28]
add ecx, dword [ebp + 8]
push eax
call fcn.004a4ff0
mov eax, dword [ebp - 0x10]
add dword [ebp + 8], 0x40
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x24]
jl 0x4a5dd1
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x4a5ee2
mov dword [ebp + 8], 0
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x50]
cmp ecx, eax
jge 0x4a5e7c
mov eax, dword [esi + 0x48]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x4c], ecx
jmp 0x4a5ec6
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jne 0x4a5e8d
inc ecx
push ecx
lea ecx, [esi + 0x48]
call fcn.0049c030
inc dword [esi + 0x50]
push 0x28
call fcn.00482680
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4a5eb1
mov ecx, eax
call fcn.004c5590
jmp 0x4a5eb3
xor eax, eax
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x4c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x30]
add ecx, dword [ebp + 8]
push eax
call fcn.004a2620
mov eax, dword [ebp - 0x10]
add dword [ebp + 8], 0x20
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x2c]
jl 0x4a5e66
cmp dword [ebx + 0x34], 0
mov dword [ebp - 0x10], 0
jle 0x4a5f7c
mov dword [ebp + 8], 0
lea ebx, [ebx]
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x60]
cmp ecx, eax
jge 0x4a5f16
mov eax, dword [esi + 0x58]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x5c], ecx
jmp 0x4a5f60
mov ecx, dword [esi + 0x64]
cmp eax, ecx
jne 0x4a5f27
inc ecx
push ecx
lea ecx, [esi + 0x58]
call fcn.0049c030
inc dword [esi + 0x60]
push 0x28
call fcn.00482680
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4a5f4b
mov ecx, eax
call fcn.004c58a0
jmp 0x4a5f4d
xor eax, eax
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x5c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x38]
add ecx, dword [ebp + 8]
push eax
call fcn.004a2780
mov eax, dword [ebp - 0x10]
add dword [ebp + 8], 0x18
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x34]
jl 0x4a5f00
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x4a6011
mov dword [ebp + 8], 0
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x70]
cmp ecx, eax
jge 0x4a5fab
mov eax, dword [esi + 0x68]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x6c], ecx
jmp 0x4a5ff5
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jne 0x4a5fbc
inc ecx
push ecx
lea ecx, [esi + 0x68]
call fcn.0049c030
inc dword [esi + 0x70]
push 0x30
call fcn.00482680
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4a5fe0
mov ecx, eax
call fcn.004c3a30
jmp 0x4a5fe2
xor eax, eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x6c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x40]
add ecx, dword [ebp + 8]
push eax
call fcn.004a39b0
mov eax, dword [ebp - 0x10]
add dword [ebp + 8], 0x48
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x3c]
jl 0x4a5f95
mov edi, dword [ebx + 0x44]
call fcn.004c3170
cmp edi, eax
je 0x4a6066
mov ebx, dword [ebx + 0x44]
or dword [esi + 0x84], 0x200
cmp dword [esi + 0x78], 0
jne 0x4a605d
push 0x48
call fcn.00482680
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4a6051
mov ecx, eax
call fcn.004c5c20
jmp 0x4a6053
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x78]
push ebx
call fcn.004d19d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4