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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x420507
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [0x427354]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xe0]
mov dword [esp + 0x184], eax
mov dword [esp + 0xc], esi
call fcn.00402cd3
mov ecx, dword [esi + 4]
lea eax, [esp + 0xe0]
xor ebx, ebx
push eax
mov dword [esp + 0x198], ebx
call fcn.0040f860
test al, al
je 0x41368d
jmp 0x4131c0
mov eax, dword [esp + 0xe0]
cmp eax, 1
jne 0x413635
mov eax, str.String
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4131d8
mov esi, dword [esp + 0x114]
sub eax, edx
cmp esi, esi
mov edi, eax
mov dword [esp + 0x20], edi
mov edx, esi
jae 0x4131f4
cmp edx, ebx
je 0x41323b
cmp edx, edi
mov ecx, edx
jb 0x413200
mov ecx, edi
cmp dword [esp + 0x118], 0x10
mov esi, dword [esp + 0x104]
jae 0x413218
lea esi, [esp + 0x104]
mov edi, str.String
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x413228
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov esi, dword [esp + 0x114]
jne 0x413414
mov edi, dword [esp + 0x20]
cmp edx, edi
jb 0x413414
xor eax, eax
cmp edx, edi
setne al
cmp eax, ebx
jne 0x413414
mov esi, 0xf
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x198], 1
call fcn.00412c20
test al, al
je 0x4136ab
mov eax, 0x422558
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4132a0
sub eax, edi
push eax
push 0x422558
lea ecx, [esp + 0x4c]
call fcn.00401897
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x198], 2
call fcn.0040e690
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.004016a8
mov eax, dword [esp + 0x5c]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x194], 4
jb 0x413318
mov eax, dword [esp + 0x48]
push eax
call fcn.00415610
add esp, 4
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x154]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.0040dec0
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
add ecx, 0x28
mov byte [esp + 0x19c], 5
call fcn.0040e530
cmp dword [esp + 0x180], edi
jb 0x413370
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.00415610
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
jb 0x41339e
mov edx, dword [esp + 0x150]
push edx
call fcn.00415610
add esp, 4
cmp dword [esp + 0xdc], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
jb 0x4133cc
mov eax, dword [esp + 0xc8]
push eax
call fcn.00415610
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
jb 0x4133fa
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00415610
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jmp 0x413647
mov eax, str.StringArray
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413420
sub eax, edx
push eax
push str.StringArray
push esi
push ebx
lea ecx, [esp + 0x110]
call fcn.004049b6
test eax, eax
jne 0x4136e7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x198], 6
call fcn.00412df0
test al, al
je 0x4136dc
mov edi, 0xf
mov eax, 0x422558
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413488
sub eax, esi
push eax
push 0x422558
lea ecx, [esp + 0x30]
call fcn.00401897
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x198], 7
call fcn.0040e690
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004016a8
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x194], 9
jb 0x4134fa
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00415610
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.004016a8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x198], 0xa
call fcn.004121c0
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
add ecx, 0x34
mov byte [esp + 0x19c], 0xb
call fcn.00412ac0
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x41359f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0xb8]
push edx
push ecx
push eax
call fcn.00411be0
mov edx, dword [esp + 0xc8]
push edx
call fcn.00415610
add esp, 0x14
cmp dword [esp + 0xb0], esi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
jb 0x4135cd
mov eax, dword [esp + 0x9c]
push eax
call fcn.00415610
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jb 0x4135f5
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00415610
add esp, 4
mov esi, dword [esp + 0x14]
cmp esi, ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
je 0x413627
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
push esi
call fcn.00411be0
push esi
call fcn.00415610
add esp, 0x14
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jmp 0x413647
cmp eax, 3
je 0x413771
cmp eax, 2
je 0x413802
lea ecx, [esp + 0xe0]
mov dword [esp + 0x194], 0xffffffff
call fcn.00402d21
lea ecx, [esp + 0xe0]
call fcn.00402cd3
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xe0]
push edx
mov dword [esp + 0x198], ebx
call fcn.0040f860
test al, al
jne 0x4131c0
lea ecx, [esp + 0xe0]
mov dword [esp + 0x194], 0xffffffff
call fcn.00402d21
xor al, al
jmp 0x41381b
cmp dword [esp + 0x94], 0x10
jb 0x4136c5
mov eax, dword [esp + 0x80]
push eax
call fcn.00415610
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jmp 0x41368d
lea ecx, [esp + 0x10]
call fcn.00412270
jmp 0x41368d
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x2c]
push str.Invalid_Section_
push edx
call fcn.00404898
push 0x424320
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1ac], 0xc
call fcn.0040484c
add esp, 0x18
mov ecx, dword [esp + 0xc]
push eax
mov byte [esp + 0x198], 0xd
call fcn.00411dd0
mov eax, dword [esp + 0x78]
mov esi, 0x10
cmp eax, esi
jb 0x413745
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00415610
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x41368d
mov edx, dword [esp + 0x2c]
push edx
call fcn.00415610
add esp, 4
jmp 0x41368d
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x48]
push str.Element_Not_Expected_
push ecx
call fcn.00404898
push 0x424320
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x1ac], 0xe
call fcn.0040484c
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x198], 0xf
call fcn.00411dd0
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp eax, esi
jb 0x4137cd
mov eax, dword [esp + 0x2c]
push eax
call fcn.00415610
add esp, 4
cmp dword [esp + 0x5c], esi
mov edi, 0xf
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x4137f1
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00415610
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jmp 0x41368d
lea ecx, [esp + 0xe0]
mov dword [esp + 0x194], 0xffffffff
call fcn.00402d21
mov al, 1
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x184]
xor ecx, dword [ebp + 4]
call fcn.00416fe5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret