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

Disassembly:
push 0xffffffffffffffff
push 0x4530ed
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663e0]
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.004047e0
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.0040d0d0
test eax, eax
jbe 0x413681
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 4]
add dword [esp + 0x2c], 1
cmp eax, ebx
je 0x4130f3
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 0x4130f8
call fcn.00439049
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.004040b0
push 0x4583ec
lea eax, [esp + 0x90]
mov byte [esp + 0x10c], 4
call fcn.00436590
add esp, 4
push 0x4583ec
lea eax, [esp + 0x90]
call fcn.00436770
add esp, 4
cmp dword [esp + 0x20], ebx
jne 0x413238
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x413176
lea eax, [esp + 0x90]
cmp word [eax], 0x5b
jne 0x413625
lea ecx, [esp + 0x8c]
push ecx
mov edi, 1
lea ebx, [esp + 0x20]
mov dword [esp + 0x20], 0x5d
call fcn.00422f10
add eax, 0xffffffff
push eax
lea edx, [esp + 0x90]
push edx
mov ecx, edi
lea esi, [esp + 0x5c]
call fcn.0040d240
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x110], 5
call fcn.004040b0
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], 8
jb 0x4131ea
mov eax, dword [esp + 0x58]
push eax
call fcn.00439059
add esp, 4
lea eax, [esp + 0xa8]
call fcn.00436480
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], esi
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x40]
call fcn.00403000
mov eax, dword [esp + 0x40]
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 eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], eax
jmp 0x413623
cmp dword [esp + 0xa0], ebx
jne 0x4133e9
mov eax, dword [esp + 0xbc]
push 0x4583f4
mov edi, 9
lea ecx, [esp + 0xac]
call fcn.004052b0
test eax, eax
je 0x4133e0
mov eax, dword [esp + 0xbc]
push str.groups
mov edi, 6
lea ecx, [esp + 0xac]
call fcn.004052b0
test eax, eax
je 0x4133e0
mov esi, dword [esp + 0xac]
mov edi, 8
cmp dword [esp + 0xc0], edi
jae 0x4132ab
lea esi, [esp + 0xac]
call fcn.004125a0
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.00404160
mov eax, esi
lea esi, [esp + 0x3c]
mov byte [esp + 0x108], 6
call fcn.004023f0
test eax, eax
seta byte [esp + 0x17]
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
jb 0x413309
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00439059
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4133aa
mov edx, str.sequence
lea eax, [esp + 0x54]
call fcn.00402b10
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x10c], 7
call fcn.00402210
cmp dword [eax + 0x18], edi
jb 0x413341
mov eax, dword [eax + 4]
jmp 0x413344
add eax, 4
push eax
call fcn.00439602
add esp, 4
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x38], eax
jb 0x41336c
mov eax, dword [esp + 0x58]
push eax
call fcn.00439059
add esp, 4
mov edx, str.sequence
lea eax, [esp + 0x54]
call fcn.00402b10
lea eax, [esp + 0x54]
lea esi, [esp + 0x3c]
mov byte [esp + 0x108], 8
call fcn.00402380
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
jb 0x4133aa
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00439059
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [eax + 4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 4]
push ecx
push edx
push esi
call fcn.00423af0
mov edx, dword [esp + 0x18]
mov ecx, 1
mov edi, eax
call fcn.00423b80
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov dword [esp + 0x20], ebx
jmp 0x413625
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x413401
lea eax, [esp + 0x90]
cmp word [eax], 0x3b
je 0x413625
push 0x45841c
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x90]
call fcn.00403560
mov edi, eax
cmp edi, 0xffffffff
je 0x413623
push edi
lea eax, [esp + 0x90]
push eax
xor ecx, ecx
lea esi, [esp + 0x78]
call fcn.0040d240
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 9
call fcn.004040b0
mov bl, 4
mov ebp, 8
mov byte [esp + 0x108], bl
cmp dword [esp + 0x88], ebp
jb 0x41347e
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00439059
add esp, 4
push 0x456964
lea eax, [esp + 0xc8]
call fcn.00436590
add esp, 4
push 0x456964
lea eax, [esp + 0xc8]
call fcn.00436770
add esp, 4
push 0xffffffffffffffff
lea edx, [esp + 0x90]
lea ecx, [edi + 1]
push edx
lea esi, [esp + 0x78]
call fcn.0040d240
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xe8]
mov byte [esp + 0x110], 0xa
call fcn.004040b0
mov byte [esp + 0x108], bl
cmp dword [esp + 0x88], ebp
jb 0x4134f2
mov eax, dword [esp + 0x74]
push eax
call fcn.00439059
add esp, 4
push 0x456964
lea eax, [esp + 0xe4]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], si
call fcn.00436590
add esp, 4
push 0x456964
lea eax, [esp + 0xe4]
call fcn.00436770
mov eax, dword [esp + 0xc0]
add esp, 4
push 0x4583f4
mov edi, 9
lea ecx, [esp + 0xac]
call fcn.004052b0
test eax, eax
jne 0x413573
mov edi, dword [esp + 0x18]
push edi
lea ecx, [esp + 0xe4]
call fcn.0041cd10
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [edi + 0xc]
jmp 0x413609
mov eax, dword [esp + 0xbc]
push str.groups
mov edi, 6
lea ecx, [esp + 0xac]
call fcn.004052b0
test eax, eax
lea eax, [esp + 0xc4]
jne 0x4135e7
call fcn.00436370
cmp dword [esp + 0xf8], ebp
mov eax, dword [esp + 0xe4]
jae 0x4135b7
lea eax, [esp + 0xe4]
cmp dword [esp + 0xdc], ebp
mov esi, dword [esp + 0xc8]
jae 0x4135ce
lea esi, [esp + 0xc8]
mov edi, dword [esp + 0x18]
push eax
push edi
call fcn.004203d0
add edi, 0x40
mov edx, esi
push eax
push edi
call fcn.00412b90
jmp 0x41361f
call fcn.00436480
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0xe4]
call fcn.0041cd10
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x40]
call fcn.00402210
push 0xffffffffffffffff
mov ecx, eax
push esi
lea eax, [esp + 0xe8]
call fcn.004040b0
mov ebp, dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0x108], 3
cmp dword [esp + 0xa4], 8
jb 0x413647
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00439059
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.0040d0d0
cmp esi, eax
jb 0x4130cb
mov edx, dword [esp + 0x18]
push edx
call fcn.00413770
mov esi, 8
cmp dword [esp + 0xf8], esi
jb 0x4136a9
mov eax, dword [esp + 0xe4]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0xdc], esi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
jb 0x4136d8
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00439059
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
jb 0x413707
mov edx, dword [esp + 0xac]
push edx
call fcn.00439059
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.00403080
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.0043782a
add esp, 0xf8
ret 8