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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ce87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [0x423354]
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.00402044
mov ecx, dword [esi + 4]
lea eax, [esp + 0xe0]
xor ebx, ebx
push eax
mov dword [esp + 0x198], ebx
call fcn.0040de70
test al, al
je 0x41185d
jmp 0x411390
mov eax, dword [esp + 0xe0]
cmp eax, 1
jne 0x411805
mov eax, str.String
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4113a8
mov esi, dword [esp + 0x114]
sub eax, edx
cmp esi, esi
mov edi, eax
mov dword [esp + 0x20], edi
mov edx, esi
jae 0x4113c4
cmp edx, ebx
je 0x41140b
cmp edx, edi
mov ecx, edx
jb 0x4113d0
mov ecx, edi
cmp dword [esp + 0x118], 0x10
mov esi, dword [esp + 0x104]
jae 0x4113e8
lea esi, [esp + 0x104]
mov edi, str.String
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4113f8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov esi, dword [esp + 0x114]
jne 0x4115e4
mov edi, dword [esp + 0x20]
cmp edx, edi
jb 0x4115e4
xor eax, eax
cmp edx, edi
setne al
cmp eax, ebx
jne 0x4115e4
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.00410df0
test al, al
je 0x41187b
mov eax, 0x41e530
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 0x411470
sub eax, edi
push eax
push 0x41e530
lea ecx, [esp + 0x4c]
call fcn.00401884
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x198], 2
call fcn.0040cca0
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.00401695
mov eax, dword [esp + 0x5c]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x194], 4
jb 0x4114e8
mov eax, dword [esp + 0x48]
push eax
call fcn.004137e0
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.0040c500
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
add ecx, 0x28
mov byte [esp + 0x19c], 5
call fcn.0040cb40
cmp dword [esp + 0x180], edi
jb 0x411540
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.004137e0
add esp, 4
cmp dword [esp + 0x164], edi
mov dword [esp + 0x180], esi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
jb 0x41156e
mov edx, dword [esp + 0x150]
push edx
call fcn.004137e0
add esp, 4
cmp dword [esp + 0xdc], edi
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
jb 0x41159c
mov eax, dword [esp + 0xc8]
push eax
call fcn.004137e0
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
jb 0x4115ca
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004137e0
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jmp 0x411817
mov eax, str.StringArray
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4115f0
sub eax, edx
push eax
push str.StringArray
push esi
push ebx
lea ecx, [esp + 0x110]
call fcn.0040389f
test eax, eax
jne 0x4118b7
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.00410fc0
test al, al
je 0x4118ac
mov edi, 0xf
mov eax, 0x41e530
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 0x411658
sub eax, esi
push eax
push 0x41e530
lea ecx, [esp + 0x30]
call fcn.00401884
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x198], 7
call fcn.0040cca0
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.00401695
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x194], 9
jb 0x4116ca
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004137e0
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.00401695
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x198], 0xa
call fcn.00410390
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.00410c90
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x41176f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0xb8]
push edx
push ecx
push eax
call fcn.0040fd80
mov edx, dword [esp + 0xc8]
push edx
call fcn.004137e0
add esp, 0x14
cmp dword [esp + 0xb0], esi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
jb 0x41179d
mov eax, dword [esp + 0x9c]
push eax
call fcn.004137e0
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jb 0x4117c5
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004137e0
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 0x4117f7
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
push esi
call fcn.0040fd80
push esi
call fcn.004137e0
add esp, 0x14
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jmp 0x411817
cmp eax, 3
je 0x411941
cmp eax, 2
je 0x4119d2
lea ecx, [esp + 0xe0]
mov dword [esp + 0x194], 0xffffffff
call fcn.00402092
lea ecx, [esp + 0xe0]
call fcn.00402044
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xe0]
push edx
mov dword [esp + 0x198], ebx
call fcn.0040de70
test al, al
jne 0x411390
lea ecx, [esp + 0xe0]
mov dword [esp + 0x194], 0xffffffff
call fcn.00402092
xor al, al
jmp 0x4119eb
cmp dword [esp + 0x94], 0x10
jb 0x411895
mov eax, dword [esp + 0x80]
push eax
call fcn.004137e0
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jmp 0x41185d
lea ecx, [esp + 0x10]
call fcn.00410440
jmp 0x41185d
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x2c]
push str.Invalid_Section_
push edx
call fcn.00403781
push 0x42005c
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1ac], 0xc
call fcn.00403735
add esp, 0x18
mov ecx, dword [esp + 0xc]
push eax
mov byte [esp + 0x198], 0xd
call fcn.0040ffa0
mov eax, dword [esp + 0x78]
mov esi, 0x10
cmp eax, esi
jb 0x411915
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004137e0
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x41185d
mov edx, dword [esp + 0x2c]
push edx
call fcn.004137e0
add esp, 4
jmp 0x41185d
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x48]
push str.Element_Not_Expected_
push ecx
call fcn.00403781
push 0x42005c
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x1ac], 0xe
call fcn.00403735
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x198], 0xf
call fcn.0040ffa0
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp eax, esi
jb 0x41199d
mov eax, dword [esp + 0x2c]
push eax
call fcn.004137e0
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 0x4119c1
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004137e0
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jmp 0x41185d
lea ecx, [esp + 0xe0]
mov dword [esp + 0x194], 0xffffffff
call fcn.00402092
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.00414ebd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret