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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x16c
mov eax, dword [esp + 0x190]
mov edx, dword [esp + 0x194]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x198]
mov dword [eax], 0
xor eax, eax
test edx, edx
setne al
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x180]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5f6acf
mov dword [esp], eax
call dword [fcn.00962ff0]
mov eax, dword [esp + 0x180]
mov edx, 0x20
xor ecx, ecx
call fcn.00555091
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0
xor eax, eax
mov ecx, 0x44
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5f716e
mov eax, dword [esp + 0x180]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
test edx, edx
je 0x5f6b27
call fcn.00547821
mov eax, dword [esp + 0x180]
mov dword [esp + 0x4c], 0
cmp byte [eax + 0x5b], 0
je 0x5f6ff2
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x188]
xor edx, edx
mov dword [esp], eax
lea eax, [esp + 0x50]
call fcn.005d3f91
mov dword [esp + 0x20], eax
test eax, eax
je 0x5f7040
mov ebp, dword [eax + 0x38]
test ebp, ebp
jne 0x5f7021
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x18], eax
and eax, 0x80
mov dword [esp + 0x30], eax
jne 0x5f7092
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x5f7140
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
mov edx, dword [eax + 0x48]
mov edi, dword [esp + 0x180]
mov ebx, dword [edi + 0x10]
test edx, edx
je 0x5f7164
mov eax, dword [esp + 0x180]
call fcn.0054d761
shl eax, 4
mov eax, dword [ebx + eax]
mov edi, dword [esp + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x20]
movsx ebp, word [eax + 0x2a]
test ebp, ebp
jle 0x5f6ea9
mov edi, dword [eax + 4]
xor ebx, ebx
lea esi, [esi]
mov ecx, dword [edi]
mov edx, dword [esp + 0x18c]
mov dword [esp + 0x18], ebx
jmp 0x5f6c1a
movzx ebx, byte [esi + 0x99f060]
cmp byte [eax + 0x99f060], bl
jne 0x5f6d91
add ecx, 1
add edx, 1
movzx eax, byte [ecx]
movzx esi, byte [edx]
cmp eax, esi
jne 0x5f6c01
test eax, eax
jne 0x5f6c14
mov edi, dword [esp + 0x198]
mov ebx, dword [esp + 0x18]
test edi, edi
jne 0x5f6ec0
lea eax, [esp + 0x50]
call fcn.00558811
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], esi
test esi, esi
je 0x5f6d06
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x5f71aa
mov eax, dword [esp + 0x180]
call fcn.0054d761
mov edi, eax
mov eax, 1
mov ecx, edi
shl eax, cl
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
mov ecx, edi
mov dword [esp + 8], eax
mov eax, dword [edx]
mov edx, 2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, esi
call fcn.005587d1
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x5f6cba
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov ecx, 1
lea eax, [edx + eax*4]
mov word [eax - 0x12], cx
mov ecx, 0x996828
mov edx, 6
mov eax, esi
call fcn.00558fa1
mov ecx, dword [esp + 0x30]
or dword [esi + 0x9c], ecx
mov ebp, eax
cmp edi, 1
je 0x5f6cf5
mov edx, dword [esi]
mov eax, edi
shl eax, 4
add eax, dword [edx + 0x10]
mov eax, dword [eax + 4]
cmp byte [eax + 9], 0
je 0x5f6cf5
or dword [esi + 0xa0], ecx
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x53], 0
je 0x5f6f61
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x180]
mov word [eax + 8], bx
mov dword [eax + 0x14], edi
cmp byte [edi + 0x5b], 0
mov eax, edi
je 0x5f6ffc
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x53], 0
jne 0x5f7012
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
call fcn.005f68b1
add dword [esp + 0x24], 1
mov edi, dword [esp + 0x24]
cmp eax, 0x11
mov dword [esp + 0x28], 0x11
sete dl
cmp edi, 0x32
setne cl
and dl, cl
jne 0x5f6af6
mov ebx, edx
test eax, eax
je 0x5f7113
mov dword [esp + 0x28], eax
mov ebx, 1
jmp 0x5f6dfb
mov ebx, dword [esp + 0x18]
add edi, 0x14
add ebx, 1
cmp ebx, ebp
jne 0x5f6bf1
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x5f6db7
mov eax, dword [esp + 0x180]
call fcn.00547821
mov eax, dword [esp + 0x18c]
mov dword [esp + 4], 0x991d0a
mov dword [esp + 8], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
call fcn.00566851
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x5b], 0
je 0x5f7081
mov dword [esp + 0x28], 1
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5f6e0b
call fcn.005acc61
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x180]
call fcn.00547821
mov edx, dword [esp + 0x4c]
mov ecx, 0
mov eax, 0x98cb17
test edx, edx
mov dword [esp + 0xc], edx
cmove eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
call fcn.005705b1
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x5f6e61
mov eax, dword [esp + 0x180]
call fcn.00547821
lea eax, [esp + 0x50]
call fcn.00569ff1
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x53], 0
jne 0x5f70fc
xor esi, esi
test bl, bl
jne 0x5f70fc
mov eax, dword [esp + 0x180]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5f6e9c
mov dword [esp], eax
call dword [fcn.00962ff8]
add esp, 0x16c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
je 0x5f6da3
mov edi, dword [esp + 0x198]
xor ebx, ebx
test edi, edi
je 0x5f6c3b
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x180]
test byte [eax + 0x21], 0x40
jne 0x5f70b3
test edi, edi
je 0x5f6c3b
mov ebp, dword [esp + 0x2c]
lea esi, [esi]
nop
movzx edx, word [edi + 0x32]
test dx, dx
je 0x5f6f21
mov eax, dword [edi + 4]
lea esi, [eax + edx*2]
jmp 0x5f6f0e
cmp cx, 0xfffe
je 0x5f6f15
add eax, 2
cmp esi, eax
je 0x5f6f21
movsx ecx, word [eax]
cmp ecx, ebx
jne 0x5f6f01
add eax, 2
mov ebp, 0x993b3a
cmp esi, eax
jne 0x5f6f0e
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x5f6ee9
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x5f6c3b
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
test edx, edx
je 0x5f6f50
mov eax, dword [esp + 0x180]
call fcn.00547821
mov dword [esp + 8], esi
mov dword [esp + 4], 0x993b9c
jmp 0x5f6dca
mov ecx, dword [esp + 0x20]
mov dword [ebp + 4], edi
mov edx, 2
mov eax, dword [ecx + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 0xc], eax
mov eax, esi
mov dword [esp], 0
mov ecx, dword [ecx]
call fcn.0055b1b1
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x53], 0
jne 0x5f6d06
mov eax, dword [esp + 0x198]
test eax, eax
je 0x5f6faa
mov byte [ebp + 0x14], 0x63
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1c]
mov byte [ebp + 0x15], 0xfd
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], eax
movsx eax, word [ecx + 0x2a]
xor ecx, ecx
lea edx, [eax + 1]
mov dword [ebp + 0x44], eax
mov eax, esi
mov dword [ebp + 0x24], edx
lea edx, [esp + 0x50]
mov word [esp + 0x114], cx
mov dword [esp + 0x7c], 1
mov dword [esp + 0x78], 1
call fcn.005764a1
jmp 0x5f6d06
call fcn.0054b251
jmp 0x5f6b40
call fcn.0054b2d1
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x53], 0
je 0x5f6d35
mov edx, dword [esp + 0x28]
test edx, edx
setne bl
jmp 0x5f6dfb
mov eax, dword [esp + 0x188]
mov dword [esp + 4], 0x993b42
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.00564191
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5f6ddd
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x5f7064
mov eax, dword [esp + 0x180]
call fcn.00547821
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x54], 0
cmp byte [eax + 0x5b], 0
jne 0x5f6dee
mov eax, dword [esp + 0x180]
call fcn.0054b2d1
jmp 0x5f6dee
mov eax, dword [esp + 0x188]
mov dword [esp + 4], 0x993b60
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.00564191
jmp 0x5f7040
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x5f7193
mov ecx, dword [edx + 0x14]
xor eax, eax
test ecx, ecx
jle 0x5f70e4
nop
cmp dword [edx + eax*8 + 0x24], ebx
mov esi, 0x993b2e
cmove ebp, esi
add eax, 1
cmp eax, ecx
jne 0x5f70d1
mov edx, dword [edx + 4]
test edx, edx
jne 0x5f70c6
mov dword [esp + 0x2c], ebp
test edi, edi
jne 0x5f6ee0
jmp 0x5f6f2c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x180]
call fcn.005566a1
mov esi, eax
jmp 0x5f6e85
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x53], 0
jne 0x5f71b4
mov eax, dword [esp + 0x19c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
xor ebx, ebx
mov dword [eax], edi
jmp 0x5f6e1b
mov eax, dword [esp + 0x188]
mov dword [esp + 4], 0x993b84
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.00564191
jmp 0x5f7040
mov eax, 0xfff80000
jmp 0x5f6bcf
mov eax, dword [esp + 0x28]
mov ebx, 1
test eax, eax
jne 0x5f6e1b
mov eax, dword [esp + 0x180]
cmp byte [eax + 0x53], 0
je 0x5f7124
xor ebx, ebx
jmp 0x5f6e1b
mov dword [esp + 0x2c], 0
xor ebp, ebp
test edi, edi
jne 0x5f6ee9
jmp 0x5f6c3b
mov edi, 0xffff8000
jmp 0x5f6c7f
mov dword [esp + 0x28], 0
jmp 0x5f6dfb