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

Disassembly:
push 0xffffffffffffffff
push 0x61764c
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x70635c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70635c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor ebx, ebx
mov ebp, 0xf
mov esi, ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x98], ebx
mov eax, dword [esp + 0x1c]
and eax, 0xfffffe07
or eax, 7
push 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
call fcn.00606dba
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
mov byte [esp + 0x98], 1
cmp edi, ebx
je 0x408aff
push edi
call fcn.0040ba70
jmp 0x408b01
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, esi
mov byte [esp + 0x98], 2
call fcn.0040c3d0
mov edi, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.0040a280
lea ecx, [esp + 0x34]
mov edx, edi
call fcn.0040a4e0
mov eax, ecx
call fcn.0040a3e0
lea eax, [esp + 0x14]
mov byte [esp + 0x98], 0
call fcn.0040a3e0
lea edi, [esp + 0x54]
mov eax, esi
call fcn.00408530
test al, al
je 0x408e88
mov ecx, dword [esp + 0x54]
mov al, 1
cmp ecx, 0xc
jne 0x408b89
test al, al
je 0x408e88
lea edi, [esp + 0x54]
mov eax, esi
call fcn.00408530
mov ecx, dword [esp + 0x54]
cmp ecx, 0xc
je 0x408b65
test al, al
je 0x408e88
cmp ecx, 2
je 0x408d44
cmp ecx, 5
jne 0x408e88
push ebx
push 0x6cf55b
lea ecx, [esp + 0x78]
call fcn.00406850
lea edx, [esp + 0x54]
push edx
push esi
lea ecx, [esp + 0x78]
call fcn.004098a0
test al, al
je 0x408d6f
lea edi, [esp + 0x14]
mov eax, esi
call fcn.00408530
test al, al
je 0x408e1d
cmp dword [esp + 0x14], 0xb
jne 0x408e1d
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
add edi, eax
cmp eax, edi
jbe 0x408bf0
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov ebx, dword [esi]
mov dword [esp + 0x6c], edi
test ebx, ebx
jne 0x408c16
call sub.MSVCR90.dll__invalid_parameter_noinfo
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec edi
cmp edi, ecx
ja 0x408c23
test ebx, ebx
je 0x408c1c
mov eax, dword [ebx]
jmp 0x408c1e
mov eax, dword [ebx]
mov ecx, eax
jmp 0x408c03
xor eax, eax
cmp edi, dword [eax + 0x18]
jae 0x408c28
call sub.MSVCR90.dll__invalid_parameter_noinfo
lea eax, [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
call fcn.0040d9c0
cmp dword [esp + 0x88], 0x10
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
jae 0x408c4d
lea ecx, [esp + 0x74]
push ecx
mov ebx, eax
call fcn.0040ae80
mov edx, dword [esi + 0x18]
mov ebp, eax
mov eax, dword [esi + 0x1c]
add edx, eax
test dl, 3
jne 0x408c76
add eax, 4
shr eax, 2
cmp dword [esi + 0x14], eax
ja 0x408c76
mov ebx, esi
call fcn.0040c9d0
mov ebx, dword [esi + 0x1c]
add ebx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov edi, ebx
shr edi, 2
cmp eax, edi
ja 0x408c8a
sub edi, eax
mov eax, dword [esi + 0x10]
cmp dword [eax + edi*4], 0
jne 0x408ca3
push 0x10
call fcn.00606dba
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x10]
mov eax, dword [edx + edi*4]
and ebx, 3
lea ebx, [eax + ebx*4]
test ebx, ebx
je 0x408cb5
mov dword [ebx], ebp
inc dword [esi + 0x1c]
mov ecx, esi
call fcn.004082f0
mov ecx, dword [esi + 0x1c]
xor ebp, ebp
cmp ecx, ebp
je 0x408cd3
dec ecx
mov dword [esi + 0x1c], ecx
cmp ecx, ebp
jne 0x408cd3
mov dword [esi + 0x18], ebp
test al, al
je 0x408d91
lea edi, [esp + 0x34]
mov eax, esi
call fcn.00408530
test al, al
je 0x408db3
mov ecx, dword [esp + 0x34]
cmp ecx, 2
je 0x408d05
cmp ecx, 0xa
je 0x408d05
cmp ecx, 0xc
jne 0x408db3
mov al, 1
cmp ecx, 0xc
jne 0x408d28
lea esp, [esp]
test al, al
je 0x408d28
lea edi, [esp + 0x34]
mov eax, esi
call fcn.00408530
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc
je 0x408d10
cmp ecx, 2
je 0x408d51
lea edi, [esp + 0x54]
mov eax, esi
call fcn.00408530
mov ebp, 0xf
xor ebx, ebx
jmp 0x408b52
cmp dword [esp + 0x84], ebx
jne 0x408e88
cmp dword [esp + 0x88], 0x10
jb 0x408d68
mov ecx, dword [esp + 0x74]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x408f09
push 2
push esi
call fcn.0040a010
cmp dword [esp + 0x88], 0x10
mov bl, al
jb 0x408f07
mov edx, dword [esp + 0x74]
push edx
jmp 0x408eff
push 2
push esi
call fcn.0040a010
cmp dword [esp + 0x88], 0x10
mov bl, al
jb 0x408f07
mov eax, dword [esp + 0x74]
push eax
jmp 0x408eff
push 0x28
mov edi, 0xf
push str.Missing___or__in_object_declaration
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
call fcn.00406850
push ebp
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
mov edx, esi
mov byte [esp + 0xa0], 4
call fcn.00409f10
push 2
push esi
call fcn.0040a010
mov esi, 0x10
mov bl, al
cmp dword [esp + 0x2c], esi
jb 0x408e10
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
jmp 0x408eec
push 0x24
push str.Missing_:_after_object_member_name
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
call fcn.00406850
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
mov edx, esi
mov byte [esp + 0xa0], 3
call fcn.00409f10
push 2
push esi
call fcn.0040a010
mov esi, 0x10
mov bl, al
cmp dword [esp + 0x4c], esi
jb 0x408e75
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jmp 0x408ef1
push 0x21
push str.Missing__or_object_member_name
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
call fcn.00406850
push ebx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x1c]
mov edx, esi
mov byte [esp + 0xa0], 5
call fcn.00409f10
push 2
push esi
call fcn.0040a010
mov esi, 0x10
mov bl, al
cmp dword [esp + 0x2c], esi
jb 0x408ee0
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
cmp dword [esp + 0x88], esi
jb 0x408f07
mov ecx, dword [esp + 0x74]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00606c9e
add esp, 0x88
ret