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

Disassembly:
push 0xffffffffffffffff
push 0x528a00
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x94]
mov edi, ecx
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
cmp dword [ebp], ebx
je 0x4392ae
call fcn.00409990
push 0x564a70
push 0x55d15c
mov edx, eax
call fcn.00411e80
add esp, 8
xor al, al
jmp 0x439899
mov dword [esp + 0x38], fcn.004faba2
mov dword [esp + 0x3c], fcn.004fac96
mov dword [esp + 0x40], fcn.004faac5
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x8000
mov dword [esp + 0x34], vtable.t_heap.0
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x90]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], ebx
call fcn.004140b0
test al, al
jne 0x439361
mov ecx, edi
call fcn.004099e0
push 8
mov dword [esi], 8
call fcn.004faba2
mov dword [ebp], eax
mov dword [eax], 0x5251572b
mov byte [eax + 4], 0x31
mov byte [eax + 5], 0x30
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x34], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, ebx
je 0x439897
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x48], ecx
call dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, ebx
jne 0x439345
jmp 0x439897
mov dword [esi], 0xc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0xa
mov dword [esp + 0x6c], fcn.004faba2
mov dword [esp + 0x70], fcn.004fac96
mov dword [esp + 0x74], fcn.004faac5
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 1
call fcn.00414b20
mov edi, eax
lea eax, [esp + 0x2c]
call fcn.0045ca40
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x4396fa
mov edx, dword [edi]
mov ebp, dword [edi + 4]
push 6
push str.MODULE
push edx
mov dword [esp + 0x24], ebp
call fcn.004fe4e2
add esp, 0xc
test eax, eax
jne 0x4396b3
push 0x24
mov dword [esp + 0x94], ebx
call fcn.004faf1d
add esp, 4
cmp eax, ebx
je 0x439427
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xa
mov dword [eax + 0x18], fcn.004faba2
mov dword [eax + 0x1c], fcn.004fac96
mov dword [eax + 0x20], fcn.004faac5
mov esi, eax
jmp 0x439429
xor esi, esi
xor eax, eax
cmp dword [ebp + 4], ebx
je 0x43944e
mov edx, dword [ebp + 8]
cmp edx, ebx
jbe 0x43944c
mov edi, dword [ebp]
mov ecx, edi
lea esp, [esp]
cmp dword [ecx], ebx
jne 0x439484
inc eax
add ecx, 4
cmp eax, edx
jb 0x439440
xor eax, eax
mov ebp, eax
cmp eax, ebx
je 0x439637
mov eax, dword [ebp]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x20], eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x34]
call fcn.00440220
test eax, eax
je 0x439489
mov eax, dword [eax + 4]
jmp 0x43948b
mov eax, dword [edi + eax*4]
jmp 0x43944e
xor eax, eax
cmp dword [esp + 0x90], 0
jne 0x4394e9
mov edx, dword [ebp]
mov ecx, str.name
lea ecx, [ecx]
mov di, word [ecx]
cmp di, word [edx]
jne 0x4394c6
test di, di
je 0x4394c2
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4394c6
add ecx, 4
add edx, 4
test di, di
jne 0x4394a0
xor ecx, ecx
jmp 0x4394cb
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4394e9
call fcn.0043a040
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x90], eax
mov eax, dword [eax + 4]
add dword [ecx], eax
jmp 0x439536
mov ebx, dword [ebp]
call fcn.00439f90
mov edi, eax
test edi, edi
je 0x439536
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x94]
add dword [ecx], eax
mov ebx, dword [esi + 4]
call fcn.00439c70
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
test eax, eax
je 0x439517
mov dword [eax + 8], edi
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ecx, dword [esi + 4]
inc dword [esi + 8]
test ecx, ecx
je 0x439531
mov dword [ecx], eax
jmp 0x439533
mov dword [esi], eax
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 8]
test edi, edi
jne 0x439545
xor ecx, ecx
jmp 0x43956a
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x43956a
mov eax, dword [ebp + 0xc]
xor edx, edx
div edi
inc edx
cmp edx, edi
jae 0x43956a
mov eax, dword [ebx]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x439565
mov ecx, dword [eax]
inc edx
test ecx, ecx
je 0x439554
mov ebp, ecx
test ecx, ecx
jne 0x439458
cmp dword [esp + 0x90], ecx
je 0x439637
mov edi, dword [esp + 0x90]
mov dword [edi + 0x10], esi
mov esi, dword [esi]
lea ebx, [ecx + 1]
test esi, esi
je 0x4395a6
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 4]
add dword [edi + 4], eax
add dword [edi + 8], ebx
mov esi, dword [esi]
test esi, esi
jne 0x439594
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
test eax, eax
jne 0x439601
mov eax, dword [esp + 0x68]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
call dword [esp + 0x70]
add esp, 4
test eax, eax
jne 0x4395d0
xor ecx, ecx
jmp 0x4395dc
mov edx, dword [esp + 0x60]
mov dword [eax], edx
mov dword [esp + 0x60], eax
mov ecx, eax
mov eax, dword [esp + 0x68]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*4 - 8]
lea edx, [eax - 1]
mov eax, dword [esp + 0x64]
test edx, edx
jl 0x439601
mov dword [ecx], eax
mov eax, ecx
sub ecx, 0xc
sub edx, ebx
jns 0x4395f2
mov dword [esp + 0x64], eax
mov ecx, dword [eax]
mov dword [eax + 8], edi
mov dword [esp + 0x64], ecx
mov dword [eax + 4], esi
mov dword [eax], 0
mov ecx, dword [esp + 0x58]
add dword [esp + 0x5c], ebx
test ecx, ecx
je 0x43962a
mov dword [ecx], eax
mov dword [esp + 0x58], eax
jmp 0x4396ad
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
jmp 0x4396ad
xor ebx, ebx
cmp esi, ebx
je 0x4396ad
mov edi, dword [esi]
cmp edi, ebx
je 0x43965c
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x439656
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edi, dword [edi]
cmp edi, ebx
jne 0x439647
cmp dword [esi + 8], ebx
jbe 0x43967f
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [esi + 0x10]
mov dword [esi], ecx
mov dword [eax], edx
add dword [esi + 8], 0xffffffff
mov dword [esi + 0x10], eax
jne 0x43967a
call fcn.00475180
cmp dword [esi + 8], ebx
ja 0x439661
mov eax, dword [esi + 0xc]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
cmp eax, ebx
je 0x4396a4
mov edi, edi
mov edi, dword [eax]
push eax
mov eax, dword [esi + 0x20]
call eax
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x439690
mov dword [esi + 0xc], ebx
push esi
call fcn.004fa74d
add esp, 4
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov ebp, dword [esp + 0x30]
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x4396c2
xor ecx, ecx
jmp 0x4396ec
cmp dword [edi + 8], ebx
je 0x4396cc
mov ecx, dword [edi + 8]
jmp 0x4396ec
mov eax, dword [edi + 0xc]
xor edx, edx
div esi
xor ecx, ecx
inc edx
cmp edx, esi
jae 0x4396ec
mov eax, dword [ebp]
cmp dword [eax + edx*4], ebx
lea eax, [eax + edx*4]
je 0x4396e7
mov ecx, dword [eax]
inc edx
cmp ecx, ebx
je 0x4396d6
mov edi, ecx
mov dword [esp + 0x2c], edi
cmp ecx, ebx
jne 0x4393c3
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
push edx
call fcn.004faba2
mov ecx, dword [esp + 0x90]
mov ebp, eax
mov dword [ecx], eax
mov dword [ebp], 0x5251572b
mov byte [ebp + 4], 0x31
mov byte [ebp + 5], 0x30
mov edx, dword [esp + 0x60]
add ebp, 8
mov dword [ebp], edx
mov eax, dword [esp + 0x58]
add esp, 4
add ebp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x4397fc
xor edi, edi
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
mov eax, ebp
mov ecx, ebx
call fcn.00439e00
mov ebp, eax
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x4397dd
mov esi, dword [eax]
cmp esi, edi
je 0x43977d
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x439777
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov esi, dword [esi]
cmp esi, edi
jne 0x439768
mov esi, dword [ebx + 0x10]
cmp esi, edi
je 0x4397dd
cmp dword [esi + 8], edi
jbe 0x4397ae
lea esp, [esp]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [esi + 0x10]
mov dword [esi], ecx
mov dword [eax], edx
add dword [esi + 8], 0xffffffff
mov dword [esi + 0x10], eax
jne 0x4397a9
call fcn.00475180
cmp dword [esi + 8], edi
ja 0x439790
mov eax, dword [esi + 0xc]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
cmp eax, edi
je 0x4397d4
lea ecx, [ecx]
mov edi, dword [eax]
push eax
mov eax, dword [esi + 0x20]
call eax
add esp, 4
mov eax, edi
test edi, edi
jne 0x4397c0
mov dword [esi + 0xc], edi
push esi
call fcn.004fa74d
add esp, 4
push ebx
call fcn.004fa74d
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x439745
mov eax, dword [esp + 0x54]
mov byte [esp + 0x84], 0
cmp dword [esp + 0x5c], 0
jbe 0x43983b
jmp 0x439814
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [eax], ecx
sub dword [esp + 0x5c], 1
mov dword [esp + 0x64], eax
jne 0x439834
lea esi, [esp + 0x54]
call fcn.00475180
cmp dword [esp + 0x5c], 0
ja 0x439810
mov eax, dword [esp + 0x60]
xor edi, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], edi
cmp eax, edi
je 0x439865
mov esi, dword [eax]
push eax
call dword [esp + 0x78]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x439851
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, edi
je 0x439897
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x48], edx
call dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, edi
jne 0x439880
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0xc