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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4e2040]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x78], 0xffffffff
mov eax, ecx
mov dword [ebp - 0x4c], eax
push ebx
mov ebx, edx
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0x74], ecx
xor ecx, ecx
push esi
push edi
test byte [eax + 0x50], 1
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], ecx
jne 0x48af70
mov ecx, dword [ebx + 0x20]
imul eax, edx, 0x48
mov dword [ebp - 0x48], ecx
add ecx, eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ecx + 0x34]
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x80], eax
xor eax, eax
cmp dword [ebx + 0x44], eax
jne 0x48af70
cmp dword [esi + 0x44], eax
jne 0x48af70
mov eax, dword [esi + 0x3c]
xor edi, edi
mov edx, dword [esi + 0x20]
test eax, eax
je 0x48a931
cmp dword [ebx + 0x3c], edi
jne 0x48af70
cmp dword [eax + 0x10], edi
jne 0x48af70
test dword [ebx + 4], 0x100
je 0x48a942
test eax, eax
jne 0x48af70
cmp dword [edx], edi
je 0x48af70
test byte [esi + 4], 1
jne 0x48af70
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x48a972
mov ecx, dword [ebp - 0x48]
cmp dword [ecx], 1
mov ecx, dword [ebp - 0x50]
jg 0x48af70
test edi, edi
jne 0x48af70
cmp dword [ebx + 0x30], 0
je 0x48a982
cmp dword [esi + 0x30], 0
jne 0x48af70
test edi, edi
je 0x48a990
cmp dword [esi + 0x30], 0
jne 0x48af70
test eax, eax
je 0x48a9a9
xor eax, eax
cmp dword [ebx + 0x24], eax
jne 0x48af70
test byte [ebx + 4], 1
jne 0x48af70
test dword [esi + 4], 0x2000
jne 0x48af70
mov cl, byte [ecx + 0x2c]
test cl, 0x60
je 0x48a9ef
cmp dword [edx], 1
jg 0x48af70
mov eax, dword [edx + 0x18]
cmp byte [eax + 0x2b], 1
je 0x48af70
test byte [ebx + 4], 1
jne 0x48af70
test cl, 0x10
jne 0x48af70
xor ecx, ecx
inc ecx
mov dword [ebp - 0x70], ecx
jmp 0x48a9f2
mov ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x68], 0
jle 0x48aa02
test byte [edx + 0x2c], 0x40
jne 0x48af70
mov eax, dword [ebp - 0x50]
test dword [eax + 0x30], 0x100
je 0x48aa1b
mov eax, dword [eax + 0x4c]
cmp byte [eax + 0x12], 0
je 0x48af70
xor edx, edx
cmp dword [esi + 0x34], edx
je 0x48ab60
cmp dword [esi + 0x30], edx
jne 0x48af70
test edi, edi
jne 0x48af70
test byte [ebx + 4], 1
jne 0x48af70
test ecx, ecx
jne 0x48af70
mov eax, esi
test byte [eax + 4], 9
jne 0x48af70
mov edx, dword [eax + 0x34]
test edx, edx
je 0x48aa65
cmp byte [eax], 0x87
jne 0x48af70
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x48af70
cmp dword [eax + 0x44], edi
jne 0x48af70
cmp dword [ebp - 0x68], edi
jle 0x48aa89
test byte [ecx + 0x2c], 0x40
jne 0x48af70
mov eax, edx
test eax, eax
jne 0x48aa4b
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x48aab2
mov eax, dword [ecx]
mov edx, edi
test eax, eax
jle 0x48aab2
add ecx, 0x18
cmp word [ecx], di
je 0x48af70
inc edx
add ecx, 0x14
cmp edx, eax
jl 0x48aaa1
test dword [ebx + 4], 0x2000
jne 0x48af70
mov eax, dword [esi + 0x1c]
xor edx, edx
mov dword [ebp - 0x5c], edx
cmp dword [eax], edx
jle 0x48ab10
mov ebx, edx
mov ecx, dword [ebx + eax + 8]
call fcn.004690cc
mov edi, dword [esi + 0x34]
mov byte [ebp - 0x3d], al
jmp 0x48aaf6
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + ebx + 8]
call fcn.004690cc
cmp al, byte [ebp - 0x3d]
jne 0x48af70
mov edi, dword [edi + 0x34]
test edi, edi
jne 0x48aade
mov ecx, dword [ebp - 0x5c]
add ebx, 0x14
mov eax, dword [esi + 0x1c]
inc ecx
mov dword [ebp - 0x5c], ecx
cmp ecx, dword [eax]
jl 0x48aacd
mov ebx, dword [ebp - 0x64]
xor edx, edx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 1
jle 0x48ab60
mov edi, dword [ebp - 0x4c]
cmp dword [edi + 0x68], 0x1f4
jg 0x48af70
mov ecx, dword [ebp - 0x44]
test dword [ecx + 0x50], 0x800000
jne 0x48af70
mov eax, dword [edi + 0x28]
cdq
add eax, 1
adc edx, 0
shld edx, eax, 2
shl eax, 2
push edx
push eax
call fcn.0043f143
pop ecx
xor edx, edx
mov dword [ebp - 0x54], eax
pop ecx
test eax, eax
je 0x48ab60
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
push edx
push edx
mov eax, dword [edi + 0x10]
push edx
push 0x15
pop edx
mov dword [ecx + 0xfc], eax
call fcn.00473b56
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0xfc], ecx
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x5c], eax
test edx, edx
je 0x48ab9e
mov ecx, dword [ebp - 0x44]
call fcn.0043eeff
mov edx, dword [edi + 0x10]
test edx, edx
je 0x48abad
mov ecx, dword [ebp - 0x44]
call fcn.0043eeff
mov edx, dword [edi + 0x14]
test edx, edx
je 0x48abbc
mov ecx, dword [ebp - 0x44]
call fcn.0043eeff
xor edx, edx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x48acb4
jmp 0x48abdc
xor edx, edx
mov ecx, dword [ebp - 0x64]
mov edi, dword [edi + 0x18]
mov ebx, dword [ebx + 0x30]
push edx
mov eax, dword [ecx + 0x34]
mov esi, dword [ecx + 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x18], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x3c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x44]
call fcn.0046a746
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], ecx
mov dword [eax + 0x30], ebx
mov ebx, eax
mov dword [eax + 0x3c], esi
mov eax, dword [ebp - 0x50]
mov byte [ebx], 0x87
mov dword [eax + 0x18], edi
test ecx, ecx
jne 0x48ac2b
mov eax, dword [ebp - 0x6c]
jmp 0x48ac98
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x54]
inc dword [esi + 0x68]
mov eax, dword [esi + 0x68]
mov dword [ecx + 0x10], eax
test edi, edi
je 0x48ac86
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x57], 0
jne 0x48ac86
push dword [ebp - 0x68]
mov edx, edi
push dword [ecx + 0x20]
mov ecx, esi
call fcn.0048a7c1
xor eax, eax
push 0x1c
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004b21c0
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x3c]
add esp, 0x14
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], 0x48a853
mov dword [ebp - 0x34], fcn.0043eb1c
call fcn.00466db0
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x48ac93
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], ebx
mov eax, ecx
mov edi, dword [ebp - 0x50]
mov ecx, ebx
push 0x34
pop edx
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x48abda
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x48acc5
mov ecx, dword [ebp - 0x44]
mov edx, eax
call fcn.0043eeff
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x57], 0
je 0x48acdc
mov ecx, dword [ebp - 0x5c]
mov dword [edi + 0x1c], ecx
xor eax, eax
inc eax
jmp 0x48af72
mov edx, dword [edi + 0x18]
test edx, edx
je 0x48ad0f
mov eax, dword [edx + 0x18]
cmp eax, 1
jne 0x48ad06
mov eax, dword [ebp - 0x4c]
mov ecx, eax
push edx
mov edx, fcn.00474916
cmp dword [eax + 0x78], 0
cmovne ecx, dword [eax + 0x78]
call fcn.004865ab
pop ecx
jmp 0x48ad0a
dec eax
mov dword [edx + 0x18], eax
xor eax, eax
mov dword [edi + 0x18], eax
imul edx, dword [ebp - 0x68], 0x48
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x54], edx
mov esi, dword [edi + 0x20]
xor eax, eax
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x48]
mov ecx, dword [esi]
mov dword [ebp - 0x58], ecx
mov al, byte [edx + eax + 0x2c]
and al, 0x40
mov byte [ebp - 0x3e], al
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x48], eax
cmp ebx, dword [ebp - 0x64]
jne 0x48ad4f
mov eax, dword [ebp - 0x50]
mov al, byte [eax + 0x2c]
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x48]
cmp ecx, 1
jle 0x48ad80
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x48]
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00478c73
mov dword [ebp - 0x48], eax
pop ecx
pop ecx
test eax, eax
je 0x48af3e
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebx + 0x20], eax
jmp 0x48ad84
test ecx, ecx
jle 0x48ade5
add esi, 8
mov dword [ebp - 0x6c], ecx
lea ebx, [eax + 0x2c]
mov dword [ebp - 0x60], esi
add ebx, edx
test dword [ebx + 4], 0x400
je 0x48ada6
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x44]
call fcn.00478bf7
mov al, byte [ebp - 0x3e]
lea edi, [ebx - 0x24]
push 0x12
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x60]
or byte [ebx], al
push 0x48
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x78], eax
xor eax, eax
push eax
push esi
call fcn.004b21c0
add esi, 0x48
add esp, 0xc
add ebx, 0x48
mov dword [ebp - 0x60], esi
sub dword [ebp - 0x6c], 1
jne 0x48ad92
mov ebx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov al, byte [edx + eax + 0x2c]
mov ecx, dword [ebp - 0x48]
and al, 0x40
or al, byte [ebp - 0x3e]
or al, byte [ebp - 0x3d]
mov byte [edx + ecx + 0x2c], al
mov eax, dword [edi + 0x30]
test eax, eax
je 0x48ae26
test dword [ebx + 4], 0x400000
jne 0x48ae26
xor esi, esi
mov edx, esi
cmp dword [eax], esi
jle 0x48ae20
lea ecx, [eax + 0x18]
xor esi, esi
inc edx
mov word [ecx], si
lea ecx, [ecx + 0x14]
cmp edx, dword [eax]
jl 0x48ae13
mov dword [ebx + 0x30], eax
mov dword [edi + 0x30], esi
mov esi, dword [edi + 0x24]
xor eax, eax
mov dword [edi + 0x24], eax
cmp dword [ebp - 0x70], eax
jbe 0x48ae40
mov edx, dword [ebp - 0x78]
mov ecx, esi
push 1
call fcn.00486f99
pop ecx
test esi, esi
je 0x48ae65
cmp dword [ebx + 0x24], 0
je 0x48ae62
push dword [ebx + 0x24]
push esi
mov esi, dword [ebp - 0x4c]
mov ecx, esi
push 0x2c
pop edx
call fcn.00469b63
pop ecx
pop ecx
mov dword [ebx + 0x24], eax
jmp 0x48ae68
mov dword [ebx + 0x24], esi
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x57], 0
jne 0x48aeb0
mov eax, dword [ebp - 0x80]
mov ecx, edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x38], esi
jmp 0x48ae98
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x48ae93
mov eax, dword [ecx + 0x1c]
mov edx, ebx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x38]
xor eax, eax
push eax
call fcn.0048a6f4
pop ecx
mov eax, dword [edi + 4]
and eax, 0x100
or dword [ebx + 4], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x48aeca
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x58]
test eax, eax
jle 0x48af27
mov ecx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
add ecx, 0x40
add esi, ecx
xor ecx, ecx
cmp dword [esi - 0x28], ecx
je 0x48af1c
push 0x1c
push ecx
lea eax, [ebp - 0x3c]
push eax
call fcn.004b21c0
lea eax, [esi - 0x38]
mov dword [ebp - 0x38], 0x48a790
add esp, 0xc
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x34], fcn.0043eb1c
mov edx, ebx
mov dword [esi], eax
lea ecx, [ebp - 0x3c]
mov dword [esi + 4], eax
call fcn.00466db0
mov eax, dword [ebp - 0x58]
xor ecx, ecx
add esi, 0x48
sub eax, 1
mov dword [ebp - 0x58], eax
jne 0x48aede
mov ebx, dword [ebx + 0x34]
mov edi, dword [edi + 0x34]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], edi
test ebx, ebx
jne 0x48ad1f
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x20]
call fcn.0046f085
mov ebx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x20]
mov edx, ebx
call fcn.00466db0
test ebx, ebx
je 0x48acd4
mov ecx, dword [ebp - 0x44]
mov edx, ebx
push 1
call fcn.00486c05
pop ecx
jmp 0x48acd4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b0ce6
leave
ret