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

Disassembly:
push 0xffffffffffffffff
push 0x458fad
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
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.004047f0
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.0040d9c0
test eax, eax
jbe 0x413f21
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 4]
add dword [esp + 0x2c], 1
cmp eax, ebx
je 0x413993
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 0x413998
call fcn.0043e955
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.004040c0
push 0x45e48c
lea eax, [esp + 0x90]
mov byte [esp + 0x10c], 4
call fcn.0043bd90
add esp, 4
push 0x45e48c
lea eax, [esp + 0x90]
call fcn.0043bf70
add esp, 4
cmp dword [esp + 0x20], ebx
jne 0x413ad8
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x413a16
lea eax, [esp + 0x90]
cmp word [eax], 0x5b
jne 0x413ec5
lea ecx, [esp + 0x8c]
push ecx
mov edi, 1
lea ebx, [esp + 0x20]
mov dword [esp + 0x20], 0x5d
call fcn.00423810
add eax, 0xffffffff
push eax
lea edx, [esp + 0x90]
push edx
mov ecx, edi
lea esi, [esp + 0x5c]
call fcn.0040db70
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x110], 5
call fcn.004040c0
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], 8
jb 0x413a8a
mov eax, dword [esp + 0x58]
push eax
call fcn.0043e965
add esp, 4
lea eax, [esp + 0xa8]
call fcn.0043bc80
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], esi
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x40]
call fcn.00403070
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 0x413ec3
cmp dword [esp + 0xa0], ebx
jne 0x413c89
mov eax, dword [esp + 0xbc]
push 0x45e494
mov edi, 9
lea ecx, [esp + 0xac]
call fcn.004052d0
test eax, eax
je 0x413c80
mov eax, dword [esp + 0xbc]
push str.groups
mov edi, 6
lea ecx, [esp + 0xac]
call fcn.004052d0
test eax, eax
je 0x413c80
mov esi, dword [esp + 0xac]
mov edi, 8
cmp dword [esp + 0xc0], edi
jae 0x413b4b
lea esi, [esp + 0xac]
call fcn.00412f90
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.00404170
mov eax, esi
lea esi, [esp + 0x3c]
mov byte [esp + 0x108], 6
call fcn.00402460
test eax, eax
seta byte [esp + 0x17]
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
jb 0x413ba9
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043e965
add esp, 4
cmp byte [esp + 0x17], bl
je 0x413c4a
mov edx, str.sequence
lea eax, [esp + 0x54]
call fcn.00402b80
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x10c], 7
call fcn.00402280
cmp dword [eax + 0x18], edi
jb 0x413be1
mov eax, dword [eax + 4]
jmp 0x413be4
add eax, 4
push eax
call fcn.0043ef57
add esp, 4
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x38], eax
jb 0x413c0c
mov eax, dword [esp + 0x58]
push eax
call fcn.0043e965
add esp, 4
mov edx, str.sequence
lea eax, [esp + 0x54]
call fcn.00402b80
lea eax, [esp + 0x54]
lea esi, [esp + 0x3c]
mov byte [esp + 0x108], 8
call fcn.004023f0
mov byte [esp + 0x108], 4
cmp dword [esp + 0x6c], edi
jb 0x413c4a
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043e965
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.004243d0
mov edx, dword [esp + 0x18]
mov ecx, 1
mov edi, eax
call fcn.00424460
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov dword [esp + 0x20], ebx
jmp 0x413ec5
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x413ca1
lea eax, [esp + 0x90]
cmp word [eax], 0x3b
je 0x413ec5
push 0x45e4bc
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x90]
call fcn.00403570
mov edi, eax
cmp edi, 0xffffffff
je 0x413ec3
push edi
lea eax, [esp + 0x90]
push eax
xor ecx, ecx
lea esi, [esp + 0x78]
call fcn.0040db70
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 9
call fcn.004040c0
mov bl, 4
mov ebp, 8
mov byte [esp + 0x108], bl
cmp dword [esp + 0x88], ebp
jb 0x413d1e
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0043e965
add esp, 4
push 0x45ca04
lea eax, [esp + 0xc8]
call fcn.0043bd90
add esp, 4
push 0x45ca04
lea eax, [esp + 0xc8]
call fcn.0043bf70
add esp, 4
push 0xffffffffffffffff
lea edx, [esp + 0x90]
lea ecx, [edi + 1]
push edx
lea esi, [esp + 0x78]
call fcn.0040db70
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xe8]
mov byte [esp + 0x110], 0xa
call fcn.004040c0
mov byte [esp + 0x108], bl
cmp dword [esp + 0x88], ebp
jb 0x413d92
mov eax, dword [esp + 0x74]
push eax
call fcn.0043e965
add esp, 4
push 0x45ca04
lea eax, [esp + 0xe4]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], si
call fcn.0043bd90
add esp, 4
push 0x45ca04
lea eax, [esp + 0xe4]
call fcn.0043bf70
mov eax, dword [esp + 0xc0]
add esp, 4
push 0x45e494
mov edi, 9
lea ecx, [esp + 0xac]
call fcn.004052d0
test eax, eax
jne 0x413e13
mov edi, dword [esp + 0x18]
push edi
lea ecx, [esp + 0xe4]
call fcn.0041d570
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [edi + 0xc]
jmp 0x413ea9
mov eax, dword [esp + 0xbc]
push str.groups
mov edi, 6
lea ecx, [esp + 0xac]
call fcn.004052d0
test eax, eax
lea eax, [esp + 0xc4]
jne 0x413e87
call fcn.0043bb70
cmp dword [esp + 0xf8], ebp
mov eax, dword [esp + 0xe4]
jae 0x413e57
lea eax, [esp + 0xe4]
cmp dword [esp + 0xdc], ebp
mov esi, dword [esp + 0xc8]
jae 0x413e6e
lea esi, [esp + 0xc8]
mov edi, dword [esp + 0x18]
push eax
push edi
call fcn.00420cd0
add edi, 0x40
mov edx, esi
push eax
push edi
call fcn.00413430
jmp 0x413ebf
call fcn.0043bc80
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0xe4]
call fcn.0041d570
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x40]
call fcn.00402280
push 0xffffffffffffffff
mov ecx, eax
push esi
lea eax, [esp + 0xe8]
call fcn.004040c0
mov ebp, dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0x108], 3
cmp dword [esp + 0xa4], 8
jb 0x413ee7
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0043e965
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.0040d9c0
cmp esi, eax
jb 0x41396b
mov edx, dword [esp + 0x18]
push edx
call fcn.00414010
mov esi, 8
cmp dword [esp + 0xf8], esi
jb 0x413f49
mov eax, dword [esp + 0xe4]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xdc], esi
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
jb 0x413f78
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
jb 0x413fa7
mov edx, dword [esp + 0xac]
push edx
call fcn.0043e965
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.004030f0
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.0043d02a
add esp, 0xf8
ret 8