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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60756b
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
lea ecx, [esp + 0x20]
call fcn.00424070
xor ebx, ebx
mov dword [esp + 0x1a8], ebx
mov eax, dword [0x7eec40]
mov ecx, dword [0x7eec3c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 8
mov dword [esp + 0x6c], 0x10
mov dword [esp + 0x70], 0x18
mov dword [esp + 0x74], 0x20
mov dword [esp + 0x78], 0x28
mov dword [esp + 0x7c], 0x30
mov dword [esp + 0x80], 0x31
mov dword [esp + 0x84], 0x32
mov dword [esp + 0x88], 0x33
mov dword [esp + 0x8c], 0x34
mov dword [esp + 0x90], 0x35
mov dword [esp + 0x94], 0x36
mov dword [esp + 0x98], 0xffffffff
mov byte [esp + 0x1f], bl
mov ebp, eax
cmp ecx, eax
jbe 0x4134eb
call fcn.0055d9b4
mov eax, dword [0x7eec40]
mov ecx, dword [0x7eec3c]
mov esi, dword [0x7eec30]
mov edi, ecx
cmp ecx, eax
jbe 0x4134fc
call fcn.0055d9b4
mov eax, dword [0x7eec30]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x7eec30
call fcn.004245f0
mov eax, dword [0x7eeae0]
mov edx, dword [0x7eea64]
lea ecx, [edx + eax*2]
add ecx, eax
cmp ecx, 0xd
je 0x413593
call fcn.00412fc0
test eax, eax
mov eax, dword [esp + 0x2c]
jle 0x413575
cmp eax, ebx
je 0x413543
push eax
call fcn.0055d56e
add esp, 4
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0055d56e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x413582
push eax
call fcn.0055d56e
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
jmp 0x413ba5
push 0x7eea20
lea esi, [esp + 0x24]
call fcn.00412750
mov eax, 4
mov ecx, 0x40
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
sar eax, 2
xor esi, esi
cmp eax, ebx
jle 0x4135f3
cmp esi, eax
jb 0x4135d4
call fcn.0055d9b4
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + esi*4]
dec dword [esp + eax*4 + 0x9c]
lea eax, [esp + eax*4 + 0x9c]
mov eax, dword [esp + 0x30]
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jl 0x4135c9
mov edx, dword [0x7eea64]
xor eax, eax
xor ecx, ecx
cmp edx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
jle 0x41363c
mov esi, 0x7eea20
cmp ecx, ebx
jl 0x413622
cmp ecx, edx
jge 0x413622
mov eax, esi
jmp 0x413624
xor eax, eax
mov eax, dword [eax]
sar eax, 8
and eax, 3
inc dword [esp + eax*4 + 0x40]
lea eax, [esp + eax*4 + 0x40]
inc ecx
add esi, 4
cmp ecx, edx
jl 0x413616
mov eax, dword [esp + 0x40]
cdq
mov esi, 3
idiv esi
xor ecx, ecx
mov dword [esp + 0x40], edx
cmp edx, ebx
je 0x413655
lea ecx, [esi - 2]
mov eax, dword [esp + 0x44]
cdq
idiv esi
mov dword [esp + 0x44], edx
cmp edx, ebx
je 0x413665
inc ecx
mov eax, dword [esp + 0x48]
cdq
idiv esi
mov dword [esp + 0x48], edx
cmp edx, ebx
je 0x413675
inc ecx
mov eax, dword [esp + 0x4c]
cdq
idiv esi
mov dword [esp + 0x4c], edx
cmp edx, ebx
je 0x413685
inc ecx
cmp ecx, 2
jg 0x4137cc
xor eax, eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ecx
jmp 0x4136b0
mov edx, dword [esp + 0x38]
cmp dword [esp + edx*4 + 0x40], 0
je 0x4137af
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp edx, 3
setl al
lea eax, [eax + eax + 7]
mov dword [esp + 0x50], eax
jmp 0x4136e0
cmp dword [ebx], 0
mov dword [esp + 0x5c], ebp
jle 0x4137a0
push 0x7eea20
mov edi, 0x7ee82c
call fcn.00414ab0
mov ecx, dword [0x7ee870]
mov eax, ebp
shl eax, 4
cmp ecx, 0x10
jge 0x41371c
lea edx, [ecx*4 + 0x7ee82c]
inc ecx
mov dword [0x7ee870], ecx
mov dword [edx], eax
mov esi, 0x7ee82c
mov dword [0x7ee86c], eax
call fcn.004126a0
call fcn.00414080
test al, al
je 0x4137a0
push 0x7eea20
mov edi, esi
call fcn.00414ab0
mov edx, dword [0x7eec3c]
test edx, edx
jne 0x41374e
xor ecx, ecx
jmp 0x413759
mov ecx, dword [0x7eec44]
sub ecx, edx
sar ecx, 2
mov eax, dword [0x7eec40]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x413775
mov dword [eax], ebp
add eax, 4
mov dword [0x7eec40], eax
jmp 0x41379b
mov esi, eax
cmp edx, eax
jbe 0x413780
call fcn.0055d9b4
mov eax, dword [0x7eec30]
lea ecx, [esp + 0x5c]
push ecx
push esi
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, 0x7eec30
call fcn.00424530
mov byte [esp + 0x1f], 1
inc ebp
add ebx, 4
sub dword [esp + 0x50], 1
jne 0x4136e0
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x38]
add dword [esp + 0x18], 0x40
add eax, 0x10
cmp eax, 0x40
mov dword [esp + 0x3c], eax
jl 0x4136b0
push 0x7eea20
mov edi, 0x7ee82c
call fcn.00414ab0
xor esi, esi
cmp byte [esp + 0x1f], 0
je 0x413827
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x4137f5
push eax
call fcn.0055d56e
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.0055d56e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x7ee8ec]
xor eax, eax
cmp edx, esi
jle 0x41384a
mov ecx, 0x7ee888
test dword [ecx], 0xf0000
jne 0x413873
inc eax
add ecx, 0x18
cmp eax, edx
jl 0x413838
cmp edx, esi
je 0x41389a
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x41385d
push eax
call fcn.0055d56e
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
push edx
jmp 0x413baa
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x413884
push eax
call fcn.0055d56e
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
push ecx
jmp 0x413baa
mov ebx, dword [0x7ee870]
or edx, 0xffffffff
xor edi, edi
xor esi, esi
lea ecx, [edx + 3]
test ebx, ebx
jle 0x4139a6
mov ebp, 0x7ee82c
test esi, esi
jl 0x4138c3
cmp esi, ebx
jge 0x4138c3
mov eax, ebp
jmp 0x4138c5
xor eax, eax
mov eax, dword [eax]
sar eax, 4
and eax, 0x3f
cmp edx, eax
je 0x4138e5
cmp ecx, 2
je 0x4138dc
mov dword [esp + 0x18], edx
add edi, ecx
mov edx, eax
mov ecx, 1
jmp 0x4138e6
inc ecx
inc esi
add ebp, 4
cmp esi, ebx
jl 0x4138b7
cmp ecx, 2
je 0x4138f9
mov dword [esp + 0x18], edx
add edi, ecx
cmp edi, 1
jne 0x4139a6
mov edx, dword [0x7eec3c]
test edx, edx
jne 0x413910
xor ecx, ecx
jmp 0x41391b
mov ecx, dword [0x7eec44]
sub ecx, edx
sar ecx, 2
mov eax, dword [0x7eec40]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x41393b
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
add eax, 4
mov dword [0x7eec40], eax
jmp 0x413961
mov esi, eax
cmp edx, eax
jbe 0x413946
call fcn.0055d9b4
mov eax, dword [0x7eec30]
lea edx, [esp + 0x18]
push edx
push esi
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, 0x7eec30
call fcn.00424530
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
je 0x413974
push eax
call fcn.0055d56e
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.0055d56e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
or edi, 0xffffffff
cmp ebx, esi
mov dword [esp + 0x18], esi
jle 0x413a12
mov ebp, 0x7ee82c
test esi, esi
jl 0x4139c4
cmp esi, ebx
jge 0x4139c4
mov eax, ebp
jmp 0x4139c6
xor eax, eax
mov edx, dword [eax]
mov ecx, edx
sar ecx, 4
mov eax, ecx
and eax, 0x3f
cmp edi, eax
jne 0x4139dc
inc dword [esp + 0x18]
jmp 0x4139de
mov edi, eax
and edx, 0x300
cmp edx, 0x300
jge 0x4139f5
test cl, 7
jne 0x413b86
inc esi
add ebp, 4
cmp esi, ebx
jl 0x4139b8
mov eax, dword [esp + 0x18]
cmp eax, 2
jge 0x413b86
test eax, eax
jne 0x413ac7
mov eax, dword [0x7eec40]
xor ebp, ebp
lea esi, [esp + 0x64]
xor ebx, ebx
nop
mov edx, dword [0x7eec3c]
cmp edx, ebx
jne 0x413a2e
xor ecx, ecx
jmp 0x413a39
mov ecx, dword [0x7eec44]
sub ecx, edx
sar ecx, 2
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x413a52
mov edx, dword [esi]
mov dword [eax], edx
add eax, 4
mov dword [0x7eec40], eax
jmp 0x413a79
mov edi, eax
cmp edx, eax
jbe 0x413a5d
call fcn.0055d9b4
mov eax, dword [0x7eec30]
push esi
push edi
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, 0x7eec30
call fcn.00424530
mov eax, dword [0x7eec40]
inc ebp
cmp dword [esp + ebp*4 + 0x64], ebx
lea esi, [esp + ebp*4 + 0x64]
jge 0x413a20
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x413a95
push eax
call fcn.0055d56e
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push ecx
call fcn.0055d56e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
xor edx, edx
mov edi, 0x7ee82c
test edx, edx
jl 0x413adc
cmp edx, ebx
jge 0x413adc
mov eax, edi
jmp 0x413ade
xor eax, eax
mov eax, dword [eax]
mov ecx, dword [esp + esi*4 + 0x64]
sar eax, 4
and eax, 0x3f
cmp eax, ecx
jg 0x413b1f
jne 0x413af1
inc esi
inc edx
add edi, 4
cmp edx, ebx
jl 0x413ad0
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
je 0x413b0c
push eax
call fcn.0055d56e
add esp, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
push edx
jmp 0x413aa6
mov edx, dword [0x7eec3c]
xor ebx, ebx
lea edi, [esp + esi*4 + 0x64]
cmp edx, ebx
jne 0x413b33
xor ecx, ecx
jmp 0x413b3e
mov ecx, dword [0x7eec44]
sub ecx, edx
sar ecx, 2
mov eax, dword [0x7eec40]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x413b5f
mov edx, dword [edi]
mov dword [eax], edx
add eax, 4
mov dword [0x7eec40], eax
jmp 0x413a84
mov esi, eax
cmp edx, eax
jbe 0x413b6a
call fcn.0055d9b4
mov eax, dword [0x7eec30]
push edi
push esi
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, 0x7eec30
call fcn.00424530
jmp 0x413a84
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
je 0x413b99
push eax
call fcn.0055d56e
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x20]
push eax
call fcn.0055d56e
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret