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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
xor ecx, ecx
mov ebx, edx
cmp dword [eax + 0x2c], 0
push edi
mov edi, dword [esi + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edi
mov byte [eax], 1
mov dword [esp + 0x14], ecx
jle 0x483384
mov eax, dword [ecx]
mov dword [esp + 0x1c], 0
test dword [eax + 4], 0x1000000
mov edx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
je 0x48309f
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x483084
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
je 0x483084
mov eax, dword [esp + 0x20]
test eax, eax
je 0x483084
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x483034
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x10], edx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x483051
push 0
push edx
push eax
mov edx, 0x4e
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x483084
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
push 0x10
push eax
push ebx
push esi
mov dword [esp + 0x2c], eax
call fcn.0044b490
mov edx, dword [esp + 0x34]
add esp, 0x10
test edx, edx
je 0x483114
mov ebx, dword [edx]
mov dword [esp + 0x18], ebx
cmp ebx, 1
jne 0x4830ce
mov al, byte [esi + 0x13]
test al, al
jne 0x4830bd
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
jmp 0x4830f7
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov ecx, dword [esi + eax*4 + 0x98]
jmp 0x4830f7
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
cmp ebx, ecx
jg 0x4830ec
add eax, ebx
sub ecx, ebx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], eax
jmp 0x4830fb
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [esi + 0x2c], eax
mov dword [esp + 0xc], ecx
push 1
push 0
push ecx
mov ecx, esi
call fcn.0044ab80
mov edx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0xc]
jmp 0x483122
xor eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0xc], 0
jl 0x483158
test edx, edx
je 0x483158
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x483142
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x1c], ecx
push eax
push edx
mov edx, dword [ebp + 0xc]
push ecx
push dword [ebx + 0xc]
mov ecx, esi
call fcn.004798f0
add esp, 0x10
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
test byte [eax + 4], 0x20
je 0x48325d
mov eax, dword [esp + 0x24]
xor ebx, ebx
add eax, 8
mov dword [esp + 0x24], eax
cmp ebx, dword [esp + 0x18]
jge 0x48319b
mov edx, dword [eax]
mov ecx, esi
call fcn.00441ed0
mov ecx, eax
inc ebx
mov eax, dword [esp + 0x24]
add eax, 0x14
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x483172
mov ebx, ecx
jmp 0x4831a0
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4831ba
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], eax
je 0x4831ba
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4831da
push 0
push 0
push eax
mov edx, 0x53
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
mov edx, eax
jmp 0x483211
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x53], 0
je 0x483229
push ebx
mov edx, 0xfffffffe
call fcn.0042b470
add esp, 4
jmp 0x48325d
test edx, edx
jns 0x483231
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x483252
push 0xfffffffffffffffe
push ebx
mov edx, eax
mov ecx, edi
call fcn.0042b6e0
add esp, 8
jmp 0x48325d
test ebx, ebx
je 0x48325d
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov ebx, dword [esp + 0xc]
mov edx, dword [eax + 8]
cmp dword [edi + 0x78], ecx
jg 0x483285
push edx
push ebx
push 0
mov edx, 0xa0
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4832b0
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xa0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov eax, dword [esp + 0x14]
cmp byte [ecx + 0x53], 0
mov edx, dword [eax + 4]
je 0x4832cf
push edx
mov edx, 0xfffffff8
call fcn.0042b470
add esp, 4
jmp 0x4832e1
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [edi + 0x74]
test ecx, ecx
jle 0x4832fa
mov eax, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
movzx edx, al
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x48331d
test ebx, ebx
je 0x483328
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x483328
movzx eax, al
mov dword [esi + eax*4 + 0x98], ebx
inc byte [esi + 0x13]
jmp 0x483328
cmp eax, dword [esi + 0x1c]
jle 0x483328
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x483353
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x48334a
push edx
mov edx, edi
call fcn.0042b160
add esp, 4
jmp 0x483353
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 8]
inc edx
mov ecx, dword [esp + 0x14]
add ecx, 0x14
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], ecx
cmp edx, dword [eax + 0x2c]
jl 0x482fe4
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x483380
add eax, 0x24
jmp 0x48339d
mov ebx, dword [esp + 0x20]
add eax, 0x24
mov edx, eax
mov dword [esp + 0x14], edx
cmp dword [eax], 0
je 0x4833fa
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], edx
je 0x4833fa
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x78], ecx
jg 0x4833c7
push 0
push 0
push ebx
mov edx, 0x12
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4833f6
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
cmp dword [edx], 0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1c]
jle 0x483432
add ebx, 4
xor edi, edi
nop word [eax + eax]
push dword [ebx + 8]
mov edx, dword [ebx]
mov ecx, esi
call fcn.0044aa00
mov eax, dword [esp + 0x18]
lea ebx, [ebx + 0x14]
inc edi
add esp, 4
cmp edi, dword [eax]
jl 0x483410
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0
test ecx, ecx
je 0x48347a
mov edx, dword [edi + 0x74]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x483451
mov dword [edi + 0x74], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
cmovs ecx, eax
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x48346d
mov eax, 0x4edf68
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret