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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450fc2
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x464140]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x464140]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, 0x10
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x14], edi
jb 0x428692
mov eax, dword [esi]
jmp 0x428694
mov eax, esi
mov ebx, dword [eax]
mov eax, 4
xor ecx, ecx
mov dword [esp + 0x14], ebx
call fcn.004010a4
cmp dword [esi + 0x14], edi
jb 0x4286ad
mov esi, dword [esi]
cmp ebx, 0x7269752e
je 0x428706
movzx eax, bl
sub eax, 0x2e
jne 0x4286d9
movzx eax, bh
sub eax, 0x75
jne 0x4286d9
movzx eax, byte [esp + 0x16]
sub eax, 0x69
jne 0x4286d9
movzx eax, byte [esp + 0x17]
sub eax, 0x72
je 0x428706
sar eax, 0x1f
or eax, 1
je 0x428706
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00438e18
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi]
xor ebx, ebx
add esi, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
push esi
lea eax, [esp + 0x70]
mov dword [esp + 0x9c], ebx
call fcn.00408367
add esi, edi
mov edi, dword [esi]
push 0x18
add esi, 4
mov dword [esp + 0x2c], ebx
call fcn.0043945e
add esp, 4
cmp eax, ebx
je 0x42899e
mov dword [esp + 0x24], eax
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x24]
mov byte [eax + 0x14], 1
mov ecx, dword [esp + 0x24]
mov byte [ecx + 0x15], 1
mov byte [esp + 0x98], 1
cmp edi, ebx
jbe 0x4287cc
mov dword [esp + 0x14], edi
mov edx, dword [esi]
mov edi, dword [esi + 4]
push 0x1c
mov dword [esp + 0x34], edx
add esi, 8
call fcn.0043945e
add esp, 4
cmp eax, ebx
je 0x4287ab
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ebx, eax
push esi
mov eax, ebx
call fcn.00408367
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
add esi, edi
call fcn.0042aca0
mov dword [eax], ebx
xor ebx, ebx
dec dword [esp + 0x14]
jne 0x428782
mov ecx, dword [esp + 0x6c]
mov edi, 0x10
cmp dword [esp + 0x80], edi
jae 0x4287e2
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
mov byte [esp + 0x98], 2
cmp ecx, ebx
je 0x42891b
mov eax, ecx
mov dword [esp + 0x40], ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x428810
sub eax, esi
add eax, ecx
push str.null
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
call fcn.0043b330
mov esi, eax
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, edi
mov edi, dword [esp + 0x50]
mov ecx, edi
jae 0x428848
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x60]
cmp ecx, str.null
ja 0x42888a
mov ecx, edi
cmp eax, 0x10
jae 0x42885f
lea ecx, [esp + 0x50]
add ecx, edx
cmp ecx, str.null
jbe 0x42888a
cmp eax, 0x10
mov eax, edi
jae 0x428874
lea eax, [esp + 0x50]
mov ecx, str.null
sub ecx, eax
push esi
lea eax, [esp + 0x54]
push ecx
mov ecx, eax
call fcn.004012f0
jmp 0x428903
cmp esi, 0xfffffffe
jbe 0x428899
push str.string_too_long
call fcn.00438cfe
cmp eax, esi
jae 0x4288ab
push edx
push esi
lea edx, [esp + 0x58]
push edx
call fcn.004011af
jmp 0x4288c1
cmp esi, ebx
jne 0x4288cb
cmp eax, 0x10
mov dword [esp + 0x60], ebx
mov eax, edi
jae 0x4288be
lea eax, [esp + 0x50]
mov byte [eax], 0
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x64]
cmp esi, ebx
seta cl
test cl, cl
je 0x428903
cmp eax, 0x10
mov eax, edi
jae 0x4288dd
lea eax, [esp + 0x50]
push esi
push str.null
push eax
call fcn.00438eb0
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0x60], esi
jae 0x4288ff
lea eax, [esp + 0x50]
mov byte [eax + esi], 0
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x44]
call fcn.0041af90
mov edi, 0x10
jmp 0x42891f
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x98], 1
cmp dword [esp + 0x64], edi
jb 0x42893a
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00438e0d
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x10]
mov edx, 0x45b328
call fcn.0041a620
push eax
mov ecx, esi
call fcn.00428ae0
mov byte [esp + 0x98], 3
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea esi, [esp + 0x20]
lea eax, [esp + 0x28]
call fcn.00425580
mov eax, dword [esp + 0x24]
push eax
call fcn.00438e0d
add esp, 4
cmp dword [esp + 0x80], edi
jb 0x428994
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00438e0d
add esp, 4
mov eax, 1
jmp 0x4286e3
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.004392aa
push 0x45e498
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], vtable.std::bad_alloc.0
call fcn.0043d7fe
int3