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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x4e5478]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x44], eax
mov edi, esi
xor eax, eax
mov dword [esp + 0x10], ecx
cmp dword [0x50ae20], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
sete al
push 0xa
pop ecx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x24], ecx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], edx
call fcn.00485824
test eax, eax
js 0x4843d5
cmp dword [0x4e6498], 9
jne 0x4843d5
push 9
push dword [0x4e649c]
push 0x4de8cc
call fcn.004c6760
cmp eax, 9
jne 0x4843d5
mov eax, dword [0x4e64b0]
test eax, eax
je 0x4843d5
cmp dword [0x4e64b8], 0
je 0x4843d5
mov dword [esi], eax
mov eax, dword [0x4e64b4]
mov dword [esi + 4], eax
mov eax, dword [0x4e64b8]
mov dword [esi + 8], eax
mov eax, dword [0x4e64bc]
mov dword [esi + 0xc], eax
cmp dword [0x4e64d8], 0
je 0x4843d5
push ecx
push ecx
lea edx, [esp + 0x2c]
mov ecx, 0x4e64c0
call fcn.00485854
test eax, eax
js 0x4843d5
cmp dword [esp + 0x24], 0
je 0x4843d5
push 0x4e5e10
push dword [esp + 0x28]
mov edx, 0x4e64f0
mov ecx, 0x4e64e8
call fcn.004843f2
mov dword [esp + 0x10], eax
test eax, eax
je 0x4843d5
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x14], ecx
mov ecx, dword [0x4e6500]
mov dword [esi + 0x18], ecx
mov eax, dword [0x4e6504]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4e6518]
mov dword [esi + 0x20], eax
mov eax, dword [0x4e651c]
mov dword [esi + 0x24], eax
mov esi, dword [esp + 0x48]
push esi
push ebx
push dword [esp + 0x54]
push 0x4e5e10
call fcn.00486a62
test esi, esi
je 0x4840b9
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], edi
mov dword [esi], ecx
test eax, eax
jns 0x4840d0
cmp eax, 0xc0000603
jne 0x4843da
mov dword [esp + 0x38], 1
cmp dword [0x4e6500], 0
je 0x4840ed
mov edx, ebx
mov ecx, 0x4e6500
call fcn.00484ef0
test eax, eax
js 0x4843da
cmp dword [esp + 0x40], 0
jne 0x484171
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x484141
xor edi, edi
cmp dword [eax + 0x18], edi
jbe 0x484141
xor esi, esi
mov eax, dword [eax + 0x14]
mov ecx, 0x400000
push 0
mov edx, dword [esi + eax]
call fcn.00483736
test al, al
je 0x48412b
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x14]
add ecx, esi
call fcn.0048384a
test al, al
je 0x484139
mov eax, dword [ebx + 0xc]
inc edi
add esi, 0x60
cmp edi, dword [eax + 0x18]
jb 0x484104
jmp 0x484141
mov dword [esp + 0x3c], 1
mov ecx, dword [0x50ad7c]
test ecx, ecx
je 0x484171
mov esi, dword [ecx]
xor edx, edx
test esi, esi
je 0x48422d
mov ecx, dword [ecx + 4]
add ecx, 4
test dword [ecx], 0x4014000
jne 0x484221
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x48415d
mov edi, dword [esp + 0x14]
mov ecx, 0x4e64f8
call fcn.004838aa
mov esi, eax
test esi, esi
je 0x4843d5
mov edx, dword [0x4e64b8]
lea eax, [esp + 0x2c]
mov ecx, dword [0x4e64bc]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00485ccc
test eax, eax
js 0x4843d5
lea eax, [esp + 0x34]
xor edx, edx
push eax
lea eax, [esp + 0x7c]
inc edx
push eax
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00483934
test eax, eax
js 0x4843da
cmp dword [0x4e6500], 0
je 0x4841f6
push 0x4e6500
lea eax, [esp + 0x38]
mov ecx, esi
push eax
lea edx, [esp + 0x80]
call fcn.00484474
test eax, eax
js 0x4843da
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x78]
push 0
add eax, 0x58
mov ecx, esi
push eax
push 0x4e6510
push dword [esp + 0x40]
call fcn.00483aa6
mov edx, eax
test edx, edx
jns 0x484234
mov eax, edx
jmp 0x4843da
xor edi, edi
inc edi
mov dword [esp + 0x14], edi
jmp 0x484175
mov edi, edx
jmp 0x484175
cmp dword [esp + 0x38], 0
mov ecx, dword [ebx + 0xc]
mov eax, dword [0x4e6500]
mov dword [ecx + 0x20], eax
mov eax, dword [0x4e6504]
mov dword [ecx + 0x24], eax
jne 0x484260
cmp dword [esp + 0x44], 0
jne 0x484260
cmp dword [esp + 0x3c], 0
jne 0x484260
test edi, edi
je 0x48421a
xor eax, eax
mov edx, dword [esp + 0x24]
push 0xa
pop ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x10], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
mov dword [0x50ae20], 1
push eax
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.00484c14
and dword [0x50ae20], 0
test eax, eax
js 0x4842eb
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jl 0x4842f7
jg 0x4842b7
test esi, esi
je 0x4842f7
cmp edi, dword [esp + 0x6c]
jl 0x4842eb
jg 0x4842c5
cmp esi, dword [esp + 0x68]
jb 0x4842eb
cmp edi, dword [esp + 0x74]
jg 0x4842eb
jl 0x4842d3
cmp esi, dword [esp + 0x70]
ja 0x4842eb
cmp edi, dword [ebx + 0x1c]
jl 0x4842eb
jg 0x4842df
cmp esi, dword [ebx + 0x18]
jb 0x4842eb
cmp edi, dword [ebx + 0x24]
jl 0x4842f7
jg 0x4842eb
cmp esi, dword [ebx + 0x20]
jbe 0x4842f7
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x38], 0
je 0x48432a
mov eax, esi
or eax, edi
jne 0x48430b
or dword [ebx + 8], 0x4000000
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
lea edx, [esp + 0x1c]
call fcn.004853ae
test eax, eax
js 0x4843da
and dword [ebx + 8], 0xffdfffff
cmp dword [esp + 0x40], 0
jne 0x4843c1
cmp dword [esp + 0x3c], 0
je 0x484357
push 0
lea eax, [esp + 0x1c]
mov edx, ebx
push eax
mov ecx, 0x400000
call fcn.00484d12
test eax, eax
js 0x4843da
cmp dword [esp + 0x14], 0
je 0x4843c1
cmp dword [esp + 0x5c], 0
je 0x4843c1
push 1
lea eax, [esp + 0x1c]
mov ecx, 0x4000000
push eax
lea edx, [esp + 0x58]
call fcn.00484d12
test eax, eax
js 0x4843b8
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
and dword [esp + 0x28], 0
mov ecx, 0x4000
and dword [esp + 0x2c], 0
push eax
call fcn.00483736
test al, al
je 0x4843c1
mov eax, esi
or eax, edi
je 0x4843b3
cmp edi, dword [esp + 0x2c]
jl 0x4843c1
jg 0x4843b3
cmp esi, dword [esp + 0x28]
jbe 0x4843c1
mov eax, 0xc0000428
or dword [ebx + 8], 0x40000
jmp 0x4843da
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4843ce
mov dword [eax], esi
mov dword [eax + 4], edi
xor edx, edx
jmp 0x48421a
mov eax, 0xc0000428
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040548e
mov esp, ebp
pop ebp
ret 0x14