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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
je 0x48e28d
test ebx, ebx
je 0x48e28d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x48e28d
movzx eax, word [esi + 0x422]
test al, 2
je 0x48df87
sub esp, 8
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.0049dfa0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x30
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0041d750
movzx eax, byte [esi + 0x2f1]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 5
mov dword [esp + 0x18], eax
add eax, ecx
mov dword [esp + 0x24], 5
mov cl, byte [esi + 0x2ed]
mov dword [esp + 0x28], 5
mov byte [esi + 0x433], 1
mov dword [esp + 0x1c], eax
cmp cl, 1
jne 0x48e050
movzx edx, word [esi + 0x2e8]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x48dff1
mov edi, 0xffffff40
mov byte [esi + 0x433], dl
jmp 0x48e253
movzx ecx, word [esi + 0x422]
test cl, 1
je 0x48e01f
add eax, edx
mov ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
cmp edx, 0x10
jbe 0x48e023
mov edi, 0xffffff7c
mov byte [esi + 0x433], 0
jmp 0x48e253
mov ecx, dword [esp + 0x30]
inc eax
xor edx, edx
mov dword [esp + 0x14], eax
add eax, 0xfffffffb
div dword [esp + 0x10]
mov dword [esp + 0x20], edx
test edx, edx
je 0x48e048
movzx eax, word [esi + 0x2e8]
sub eax, edx
mov dword [esp + 0x20], eax
mov edx, eax
mov eax, dword [esp + 0x14]
add eax, edx
jmp 0x48e07d
cmp cl, 2
mov edx, eax
mov ecx, dword [esp + 0x30]
jne 0x48e083
cmp byte [esi + 0x2ec], 9
mov eax, 8
cmovne ecx, eax
movzx eax, word [esi + 0x2ea]
sub eax, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x30], ecx
add eax, ecx
mov edx, eax
mov dword [esp + 0x1c], eax
cmp edx, dword [ebp + 8]
jbe 0x48e099
mov edi, 0xffffff7c
mov byte [esi + 0x433], 0
jmp 0x48e253
test ecx, ecx
je 0x48e0e7
cmp ecx, 0x10
jbe 0x48e0c3
call fcn.00472af0
mov dword [esp + 0x34], eax
test eax, eax
jne 0x48e0bd
lea edi, [eax - 0x7d]
mov byte [esi + 0x433], al
jmp 0x48e257
mov ecx, dword [esp + 0x30]
jmp 0x48e0cb
lea eax, [esp + 0x38]
mov dword [esp + 0x34], eax
push ecx
mov ecx, dword [esi + 0x78]
mov edx, eax
call fcn.004cfdb0
mov edi, eax
add esp, 4
test edi, edi
jne 0x48e244
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x28]
push ecx
push esi
push dword [ebp + 0x14]
movzx edx, ax
mov ecx, ebx
mov word [esp + 0x38], ax
call fcn.00489f50
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test ecx, ecx
je 0x48e136
mov eax, 0x10
cmp ecx, eax
cmovb eax, ecx
push eax
mov eax, dword [esp + 0x28]
push dword [esp + 0x38]
add eax, ebx
push eax
call fcn.0041d1d0
mov eax, dword [esp + 0x30]
add esp, 0xc
add eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
jmp 0x48e13a
mov eax, dword [esp + 0x24]
push dword [ebp + 0x10]
add eax, ebx
push dword [ebp + 0xc]
push eax
call fcn.0041d1d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add ecx, edx
cmp dword [ebp + 0x14], 0x16
mov dword [esp + 0x24], ecx
mov byte [esi + 0x433], 2
jne 0x48e190
cmp dword [ebp + 0x18], 0
je 0x48e190
mov eax, dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x30]
add eax, edx
mov edx, ebx
push eax
call fcn.0048a040
mov edi, eax
add esp, 8
test edi, edi
jne 0x48e244
mov ecx, dword [esp + 0x24]
cmp byte [esi + 0x2ed], 1
jne 0x48e1b3
mov edx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x20]
add edx, ebx
lea eax, [ecx + 1]
push eax
push ecx
push edx
call fcn.0041d750
add esp, 0xc
cmp byte [esi + 0x2ed], 2
mov byte [esi + 0x433], 3
je 0x48e1f1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add eax, ecx
push 0
push 0
push dword [ebp + 0x14]
add eax, ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x3c]
add eax, ebx
push eax
mov eax, dword [esi + 0x1bc]
push esi
call eax
add esp, 0x20
mov edi, eax
test edi, edi
jne 0x48e244
mov edx, dword [esp + 0x28]
push ecx
push dword [esp + 0x30]
add edx, ebx
mov byte [esi + 0x433], 4
push edx
mov ecx, esi
call fcn.00485810
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48e23b
mov eax, dword [esp + 0x28]
movzx ecx, word [esp + 0x2c]
add eax, ebx
test ecx, ecx
je 0x48e232
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x48e227
mov byte [esi + 0x433], 0
jmp 0x48e253
mov byte [esi + 0x433], 0
jmp 0x48e24f
mov byte [esi + 0x433], 0
test edi, edi
jne 0x48e253
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48e284
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x48e284
mov ecx, dword [0x420ede8]
push eax
test ecx, ecx
je 0x48e27c
call ecx
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042a55b
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffff53
pop ebx
mov esp, ebp
pop ebp
ret