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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be302
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
call fcn.00477d50
mov ecx, dword [ebp + 0x14]
add ecx, 4
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x90], 0
call fcn.00405dc0
mov esi, dword [esp + 0x34]
mov byte [esp + 0x17], 1
cmp esi, dword [esp + 0x38]
jbe 0x403899
call fcn.00480e22
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x38]
mov dword [esp + 0x24], esi
cmp dword [esp + 0x34], edi
jbe 0x4038b4
call fcn.00480e22
test ebx, ebx
je 0x4038be
cmp ebx, dword [esp + 0x28]
je 0x4038c3
call fcn.00480e22
cmp esi, edi
je 0x403b38
cmp byte [esp + 0x17], 0
je 0x403b38
test ebx, ebx
jne 0x40395a
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4038ef
call fcn.00480e22
push esi
mov dword [esp + 0x20], esi
call fcn.00403e10
test al, al
je 0x403b33
call fcn.00405600
xor edi, edi
cmp dword [ebp + 0x10], edi
mov byte [esp + 0x17], 0
jle 0x403afd
add esi, 0x10
mov dword [esp + 0x18], esi
lea ecx, [ecx]
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + edi*8]
mov eax, dword [esp + 0x1c]
add ebx, 2
call fcn.00404f60
test al, al
je 0x403aeb
push 4
mov dword [esp + 0x44], vtable.StringStorage.0
call fcn.00480ed5
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x40395e
lea edx, [esp + 0x44]
mov dword [eax], edx
jmp 0x403960
mov eax, dword [ebx]
jmp 0x4038e5
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
push 0x4c8df0
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 2
call fcn.00405d10
mov byte [esp + 0x88], 3
lea ecx, [esp + 0x60]
mov byte [esp + 0x5c], 0
call fcn.00404990
mov byte [esp + 0x88], 4
cmp dword [esi + edi*8 + 4], 1
mov byte [esp + 0x17], 1
jne 0x403a67
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x403b1a
call fcn.00480e22
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x4039d5
call fcn.00480e22
mov eax, 0x1c
add dword [esp + 0x24], eax
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov esi, eax
cmp dword [esp + 0x34], eax
jbe 0x4039f3
call fcn.00480e22
test ebx, ebx
je 0x4039fd
cmp ebx, dword [esp + 0x28]
je 0x403a02
call fcn.00480e22
cmp dword [esp + 0x24], esi
je 0x403ba8
mov byte [esp + 0x5c], 1
test ebx, ebx
jne 0x403b21
call fcn.00480e22
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x10]
jb 0x403a2e
call fcn.00480e22
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
jbe 0x403a3e
call fcn.00480e22
mov eax, dword [ebx - 0xc]
test eax, eax
jne 0x403b28
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x403a5a
call fcn.00480e22
push esi
lea ecx, [esp + 0x64]
call fcn.00405d10
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + edi*8]
push eax
lea ecx, [esp + 0x44]
call fcn.00405d10
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ecx
call fcn.00403f00
xor ebx, ebx
mov byte [esp + 0x88], bl
mov eax, dword [esp + 0x70]
mov esi, vtable.StringStorage.0
mov dword [esp + 0x60], esi
cmp eax, ebx
je 0x403aa4
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x64]
push edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.00480e32
mov eax, dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x40], esi
cmp eax, ebx
je 0x403ad2
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x44]
push eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.00480e32
add esp, 4
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x403920
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test ebx, ebx
jne 0x403b2f
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x403b12
call fcn.00480e22
add esi, 0x1c
jmp 0x4038a1
mov eax, dword [ebx]
jmp 0x4039c7
mov eax, dword [ebx]
jmp 0x403a20
mov eax, dword [eax]
jmp 0x403a50
mov eax, dword [ebx]
jmp 0x403b08
mov byte [esp + 0x17], 0
mov dword [esp + 0x88], 5
mov esi, dword [esp + 0x34]
test esi, esi
je 0x403b71
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x403b64
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
add esi, 0x1c
cmp esi, edi
jne 0x403b53
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x28]
xor eax, eax
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00480e32
mov al, byte [esp + 0x1b]
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x40]
call fcn.00403be0
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x8c], 0xffffffff
call fcn.004425d0
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10