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

Disassembly:
push 0xffffffffffffffff
push 0x45393d
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x110]
mov ebp, dword [esp + 0x114]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebp
call fcn.00404740
mov dword [esp + 0x40], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x40]
mov dword [eax], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x108], ebx
mov edi, 7
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
mov byte [esp + 0x108], 3
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], esi
call fcn.0040d2c0
test eax, eax
jbe 0x413709
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 4]
add dword [esp + 0x2c], 1
cmp eax, ebx
je 0x413183
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x413188
call fcn.00439412
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
call fcn.00404010
push 0x458304
lea eax, [esp + 0x90]
mov byte [esp + 0x10c], 4
call fcn.00436d60
add esp, 4
push 0x458304
lea eax, [esp + 0x90]
call fcn.00436f40
add esp, 4
cmp dword [esp + 0x20], ebx
jne 0x4132c0
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x413206
lea eax, [esp + 0x90]
cmp word [eax], 0x5b
jne 0x4136ad
lea edi, [esp + 0x1c]
lea ebx, [esp + 0x8c]
mov dword [esp + 0x1c], 0x5d
call fcn.00421c80
add eax, 0xffffffff
push eax
mov ecx, ebx
push ecx
mov ecx, 1
lea esi, [esp + 0x5c]
call fcn.0040d470
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x110], 5
call fcn.00404010
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], 8
jb 0x413272
mov edx, dword [esp + 0x58]
push edx
call fcn.00439935
add esp, 4
lea eax, [esp + 0xa8]
call fcn.00436c50
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], esi
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x40]
call fcn.00402fc0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esi
mov dword [eax], eax
mov eax, dword [esp + 0x40]
mov dword [eax + 8], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], edx
jmp 0x4136ab
cmp dword [esp + 0xa0], ebx
jne 0x413471
mov eax, dword [esp + 0xbc]
push 0x45830c
mov edi, 9
lea ecx, [esp + 0xac]
call fcn.00405220
test eax, eax
je 0x413468
mov eax, dword [esp + 0xbc]
push str.groups
mov edi, 6
lea ecx, [esp + 0xac]
call fcn.00405220
test eax, eax
je 0x413468
mov esi, dword [esp + 0xac]
mov edi, 8
cmp dword [esp + 0xc0], edi
jae 0x413333
lea esi, [esp + 0xac]
call fcn.00412790
push edi
push str.sequence
lea esi, [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.004040c0
mov eax, esi
lea esi, [esp + 0x3c]
mov byte [esp + 0x108], 6
call fcn.004023e0
test eax, eax
seta byte [esp + 0x17]
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
jb 0x413391
mov eax, dword [esp + 0x58]
push eax
call fcn.00439935
add esp, 4
cmp byte [esp + 0x17], bl
je 0x413432
mov edx, str.sequence
lea eax, [esp + 0x54]
call fcn.00402b00
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x10c], 7
call fcn.00402200
cmp dword [eax + 0x18], edi
jb 0x4133c9
mov eax, dword [eax + 4]
jmp 0x4133cc
add eax, 4
push eax
call fcn.00439a49
add esp, 4
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x38], eax
jb 0x4133f4
mov edx, dword [esp + 0x58]
push edx
call fcn.00439935
add esp, 4
mov edx, str.sequence
lea eax, [esp + 0x54]
call fcn.00402b00
lea eax, [esp + 0x54]
lea esi, [esp + 0x3c]
mov byte [esp + 0x108], 8
call fcn.00402370
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
jb 0x413432
mov eax, dword [esp + 0x58]
push eax
call fcn.00439935
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [edx + 4]
lea eax, [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
push esi
call fcn.00422810
mov edx, dword [esp + 0x18]
mov ecx, 1
mov edi, eax
call fcn.004228a0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov dword [esp + 0x20], ebx
jmp 0x4136ad
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x413489
lea eax, [esp + 0x90]
cmp word [eax], 0x3b
je 0x4136ad
push 0x458334
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x90]
call fcn.004034c0
mov edi, eax
cmp edi, 0xffffffff
je 0x4136ab
push edi
lea edx, [esp + 0x90]
push edx
xor ecx, ecx
lea esi, [esp + 0x78]
call fcn.0040d470
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 9
call fcn.00404010
mov bl, 4
mov ebp, 8
mov byte [esp + 0x108], bl
cmp dword [esp + 0x88], ebp
jb 0x413506
mov eax, dword [esp + 0x74]
push eax
call fcn.00439935
add esp, 4
push 0x456954
lea eax, [esp + 0xc8]
call fcn.00436d60
add esp, 4
push 0x456954
lea eax, [esp + 0xc8]
call fcn.00436f40
add esp, 4
push 0xffffffffffffffff
lea edx, [esp + 0x90]
lea ecx, [edi + 1]
push edx
lea esi, [esp + 0x78]
call fcn.0040d470
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xe8]
mov byte [esp + 0x110], 0xa
call fcn.00404010
mov byte [esp + 0x108], bl
cmp dword [esp + 0x88], ebp
jb 0x41357a
mov eax, dword [esp + 0x74]
push eax
call fcn.00439935
add esp, 4
push 0x456954
lea eax, [esp + 0xe4]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], si
call fcn.00436d60
add esp, 4
push 0x456954
lea eax, [esp + 0xe4]
call fcn.00436f40
mov eax, dword [esp + 0xc0]
add esp, 4
push 0x45830c
mov edi, 9
lea ecx, [esp + 0xac]
call fcn.00405220
test eax, eax
jne 0x4135fb
mov edi, dword [esp + 0x18]
push edi
lea ecx, [esp + 0xe4]
call fcn.0041c080
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [edi + 0xc]
jmp 0x413691
mov eax, dword [esp + 0xbc]
push str.groups
mov edi, 6
lea ecx, [esp + 0xac]
call fcn.00405220
test eax, eax
lea eax, [esp + 0xc4]
jne 0x41366f
call fcn.00436b40
cmp dword [esp + 0xf8], ebp
mov eax, dword [esp + 0xe4]
jae 0x41363f
lea eax, [esp + 0xe4]
cmp dword [esp + 0xdc], ebp
mov esi, dword [esp + 0xc8]
jae 0x413656
lea esi, [esp + 0xc8]
mov edi, dword [esp + 0x18]
push eax
push edi
call fcn.0041f260
add edi, 0x40
mov edx, esi
push eax
push edi
call fcn.00412c30
jmp 0x4136a7
call fcn.00436c50
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0xe4]
call fcn.0041c080
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x40]
call fcn.00402200
push 0xffffffffffffffff
mov ecx, eax
push esi
lea eax, [esp + 0xe8]
call fcn.00404010
mov ebp, dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0x108], 3
cmp dword [esp + 0xa4], 8
jb 0x4136cf
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00439935
add esp, 4
mov esi, dword [esp + 0x30]
add dword [esp + 0x24], 0x1c
mov edi, 7
add esi, 1
mov ecx, ebp
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
mov dword [esp + 0x30], esi
call fcn.0040d2c0
cmp esi, eax
jb 0x41315b
mov edx, dword [esp + 0x18]
push edx
call fcn.00413800
mov esi, 8
cmp dword [esp + 0xf8], esi
jb 0x413731
mov eax, dword [esp + 0xe4]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0xdc], esi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
jb 0x413760
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00439935
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
jb 0x41378f
mov edx, dword [esp + 0xac]
push edx
call fcn.00439935
add esp, 4
lea eax, [esp + 0x3c]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
mov dword [esp + 0x108], 0xffffffff
call fcn.00403040
mov eax, 1
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00437ffa
add esp, 0xf8
ret 8