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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
xor ecx, ecx
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
xor eax, eax
mov ebx, dword [edx + 0x14]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
xor eax, eax
mov edi, dword [ebx + 0xe8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x48f385
mov edx, dword [eax + 0x10]
mov dword [ebp - 8], edx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
je 0x48f395
xor ecx, ecx
mov dword [ebp - 0x14], ecx
jmp 0x48f3af
lea eax, [ebp - 0x14]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x74]
add esp, 8
mov esi, eax
test esi, esi
je 0x48f3af
mov eax, esi
jmp 0x48faa4
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048ede4
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x16c], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [edx + 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x48f40d
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00489868
add esp, 8
test eax, eax
je 0x48f403
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x68], edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00489640
add esp, 8
jmp 0x48fa8c
mov esi, 1
jmp 0x48fa8c
mov eax, dword [ebx + 0x168]
xor edx, edx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebx + 0xe0]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov edx, dword [ebx + 0x88]
push edx
call fcn.0041ef10
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
cmp word [edx + 0x70], 0
je 0x48f45e
push 0
call fcn.0045e804
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x48f46b
cmp dword [eax + 0x34], 0
je 0x48f478
xor edx, edx
mov dword [ebx + 0x168], edx
jmp 0x48f560
mov ecx, dword [ebx + 0x78]
cmp dword [ecx + 0x24], 0
je 0x48f490
mov eax, dword [ebx + 0x78]
mov edx, dword [eax + 0x24]
push edx
call fcn.0045f064
pop ecx
mov esi, eax
test esi, esi
je 0x48f4a0
mov dword [ebp - 0x24], 1
jmp 0x48f560
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0x28], 0
jne 0x48f4af
cmp dword [eax + 0x20], 0
jle 0x48f4e2
cmp dword [eax + 0x1c], 0
je 0x48f4c4
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x1c]
push ecx
call fcn.0045f064
pop ecx
mov esi, eax
test esi, esi
jne 0x48f4ca
mov esi, edi
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0x20], 0
jle 0x48f560
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x24], ecx
jmp 0x48f560
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0x4c], 0
je 0x48f4f4
mov dword [ebp - 0x2c], 1
jmp 0x48f560
cmp dword [eax + 0x3c], 0
jne 0x48f504
xor edx, edx
mov dword [ebx + 0x168], edx
jmp 0x48f560
cmp dword [ebx + 0x168], 0
je 0x48f560
mov ecx, dword [ebx + 0x168]
push ecx
call fcn.0048a9fc
pop ecx
test eax, eax
je 0x48f560
mov eax, dword [ebx + 0x168]
push eax
call fcn.00488fbc
pop ecx
mov edx, dword [ebx + 0x168]
push edx
call fcn.0048c364
pop ecx
mov ecx, dword [ebx + 0x168]
cmp dword [ecx + 0x60], 0
jne 0x48f553
mov eax, dword [ebx + 0x168]
mov edx, dword [eax + 0x84]
mov esi, dword [edx + 4]
mov eax, dword [ebx + 0x168]
push eax
call fcn.0048aac0
pop ecx
mov edx, dword [ebp - 0x18]
mov edi, 0x40
mov dword [edx + 0x1d0], edi
shl edi, 0xa
push edi
call fcn.0045c458
mov edx, dword [ebp - 0x18]
pop ecx
mov dword [edx + 0x1cc], eax
movzx edx, word [ebx + 0xa2]
mov eax, dword [ebp - 0x18]
mov ecx, edx
xor edx, edx
mov eax, dword [eax + 0x1d0]
shl eax, 0xa
div ecx
mov dword [ebp - 0x38], eax
call fcn.00469320
test eax, eax
jne 0x48f5c8
cmp dword [ebp - 0x38], 1
jle 0x48f5c8
mov edi, dword [ebx + 0x78]
test edi, edi
je 0x48f5cc
cmp dword [edi + 0x34], 0
jne 0x48f5cc
cmp dword [ebx + 0x168], 0
jne 0x48f5c8
cmp dword [ebp - 0x2c], 0
je 0x48f5cc
xor eax, eax
jmp 0x48f5d1
mov eax, 1
mov dword [ebp - 0x28], eax
test esi, esi
jne 0x48f5e6
cmp dword [ebx + 0x168], 0
jne 0x48f5e6
mov esi, 1
test esi, esi
jne 0x48f5f5
push ebx
mov eax, dword [ebx]
call dword [eax + 0x18]
pop ecx
mov esi, eax
jmp 0x48f618
push esi
push ebx
mov eax, dword [ebx]
call dword [eax + 0x10]
add esp, 8
mov esi, eax
cmp dword [ebp - 0x2c], 0
je 0x48f618
test esi, esi
jne 0x48f618
push 1
push ebx
mov edx, dword [ebx]
call dword [edx + 0x24]
add esp, 8
mov esi, eax
mov edi, dword [ebx + 0xe8]
jmp 0x48fa22
call fcn.0044881c
test ax, ax
je 0x48f637
mov esi, 1
jmp 0x48fa30
cmp dword [ebp - 0x28], 0
je 0x48f78b
cmp edi, dword [ebp - 0x14]
ja 0x48fa30
cmp dword [ebp - 0x34], 0
je 0x48f65c
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x38]
jl 0x48f713
mov eax, dword [ebp - 0x14]
sub eax, edi
cmp eax, dword [ebp - 0x38]
jb 0x48f66b
mov eax, dword [ebp - 0x38]
jmp 0x48f66c
inc eax
cmp dword [ebp - 0x24], 0
jbe 0x48f67c
mov edx, dword [ebp - 0x24]
cmp edx, eax
jae 0x48f67c
mov eax, dword [ebp - 0x24]
movzx edx, word [ebx + 0xa2]
imul edx, eax
mov dword [ebp - 0x40], edx
xor edx, edx
movzx eax, word [ebx + 0xa2]
push edx
push eax
mov eax, edi
dec eax
xor edx, edx
call fcn.004bb8d0
push edx
push eax
movzx eax, word [ebx + 0xa0]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1cc]
push edx
mov ecx, dword [ebx + 0x8c]
push ecx
call fcn.00425af4
add esp, 0x14
cmp eax, dword [ebp - 0x40]
je 0x48f70e
push 0
push 0
call fcn.0042854c
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
mov ecx, dword [edx]
push ecx
push 0x3f2
push 0x17
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x90]
mov ecx, dword [edx + 0x14]
push ecx
call fcn.00488330
add esp, 0x1c
jmp 0x48fa30
xor eax, eax
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x1cc]
movzx eax, word [ebx + 0xa2]
imul dword [ebp - 0x34]
add ecx, eax
mov dword [ebx + 0xe0], ecx
mov dword [ebx + 0xe8], edi
push 0
push ebx
mov edx, dword [ebx]
call dword [edx + 0x54]
add esp, 8
cmp eax, 1
je 0x48fa30
mov ecx, 1
mov dword [ebx + 0x114], ecx
mov dword [ebx + 0x110], ecx
mov eax, dword [ebx + 0xe0]
cmp byte [eax], 0x2a
sete dl
and edx, 1
mov dword [ebx + 0x120], edx
cmp dword [ebx + 0x7c], 0
je 0x48f788
push ebx
mov eax, dword [ebx]
call dword [eax + 0xd4]
pop ecx
mov esi, eax
test esi, esi
jne 0x48fa30
inc dword [ebp - 0x34]
cmp dword [ebp - 8], 0
je 0x48f7a9
push 0
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.0048898c
add esp, 0xc
test eax, eax
je 0x48fa30
cmp edi, dword [ebp - 0x14]
ja 0x48f9a8
cmp dword [ebp - 4], 0
je 0x48f7cf
push 0
mov edx, dword [ebp - 4]
push edx
push ebx
call fcn.0048898c
add esp, 0xc
test eax, eax
je 0x48f9a8
mov ecx, dword [ebp + 8]
mov ax, word [ecx + 0x70]
test ax, ax
je 0x48f7ed
mov edx, dword [ebp - 0x10]
push edx
push eax
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x58]
add esp, 0xc
mov esi, eax
jmp 0x48f7fd
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
push edx
call fcn.0044597c
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045fd18
pop ecx
cmp eax, 0x40
jg 0x48f82f
je 0x48f8c5
sub eax, 2
je 0x48f87b
sub eax, 6
je 0x48f87b
sub eax, 8
je 0x48f87b
sub eax, 0x10
je 0x48f902
jmp 0x48f96b
sub eax, 0x80
je 0x48f933
sub eax, 0x380
je 0x48f84d
sub eax, 0x800
je 0x48f84d
jmp 0x48f96b
mov eax, dword [ebp - 0x10]
push eax
call fcn.0045edc0
pop ecx
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.0045eda4
pop ecx
push eax
mov ecx, dword [ebx + 0xe8]
push ecx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0048ed70
add esp, 0x10
jmp 0x48f9a8
mov edx, dword [ebp + 8]
mov cx, word [edx + 0x74]
push ecx
lea ecx, [ebp - 0x140]
mov eax, dword [ebp + 8]
mov dx, word [eax + 0x72]
push edx
push ecx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004883f0
mov edx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x140]
movzx ecx, word [edx + 0x72]
push ecx
push eax
mov edx, dword [ebx + 0xe8]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048ed70
add esp, 0x10
jmp 0x48f9a8
mov eax, dword [ebp + 8]
cmp byte [eax + 0x6e], 0x54
jne 0x48f902
lea edx, [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045ee7c
add esp, 8
lea eax, [ebp - 0x140]
push 0x11
push eax
mov edx, dword [ebx + 0xe8]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048ed70
add esp, 0x10
jmp 0x48f9a8
lea eax, [ebp - 0x140]
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.0045ee34
add esp, 8
lea ecx, [ebp - 0x140]
push 8
push ecx
mov eax, dword [ebx + 0xe8]
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.0048ed70
add esp, 0x10
jmp 0x48f9a8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045ef18
pop ecx
test eax, eax
je 0x48f945
mov al, 0x54
jmp 0x48f947
mov al, 0x46
mov byte [ebp - 0x140], al
lea edx, [ebp - 0x140]
push 1
push edx
mov ecx, dword [ebx + 0xe8]
push ecx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0048ed70
add esp, 0x10
jmp 0x48f9a8
push 0
push 0
push 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x90]
mov eax, dword [ecx]
push eax
push 0x402
push 0x21
push ebx
call fcn.00488330
mov eax, dword [ebp + 8]
add esp, 0x1c
xor edx, edx
mov esi, 1
mov dword [eax + 0x48], 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
jbe 0x48f9b3
dec dword [ebp - 0x24]
je 0x48fa30
cmp dword [ebp - 0xc], 0
je 0x48f9eb
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ebp - 0x1c]
jg 0x48f9e8
xor edx, edx
mov dword [ebp - 0x1c], edx
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push ebx
call fcn.0048898c
add esp, 0xc
test eax, eax
jne 0x48f9e8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 1
jmp 0x48fa30
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x28], 0
je 0x48f9f4
inc edi
jmp 0x48fa22
test esi, esi
jne 0x48fa22
push 1
push ebx
mov edx, dword [ebx]
call dword [edx + 0x28]
add esp, 8
mov esi, eax
cmp dword [ebp - 0x2c], 0
je 0x48fa1c
test esi, esi
jne 0x48fa1c
push 1
push ebx
mov eax, dword [ebx]
call dword [eax + 0x24]
add esp, 8
mov esi, eax
mov edi, dword [ebx + 0xe8]
test esi, esi
jne 0x48fa30
cmp dword [ebx + 0x28], 0
je 0x48f623
cmp dword [ebp - 0x28], 0
je 0x48fa57
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0x110], edx
test esi, esi
jne 0x48fa57
push edi
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x10]
add esp, 8
mov esi, eax
test esi, esi
jne 0x48fa65
mov eax, dword [ebp - 0x18]
push eax
call fcn.0048f028
pop ecx
mov edx, dword [ebp + 8]
cmp word [edx + 0x70], 0
je 0x48fa79
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045e9b8
pop ecx
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x168], eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0041ef10
pop ecx
push 1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048ef88
add esp, 8
xor eax, eax
mov dword [ebx + 0x16c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret