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

Disassembly:
push 0xffffffffffffffff
push 0x780284
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x948
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x2c], edi
call fcn.006525d0
add esi, 0xd8
push esi
lea eax, [esp + 0x55c]
push 0x400
push eax
call fcn.0067acb0
mov esi, 0xf
lea eax, [esp + 0x564]
add esp, 0xc
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], edi
mov byte [esp + 0x94], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x654ab1
sub eax, edx
push eax
lea ecx, [esp + 0x55c]
push ecx
lea ecx, [esp + 0x98]
call fcn.00402660
lea eax, [esp + 0x558]
mov dword [esp + 0x960], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x654b00
sub eax, ecx
push eax
lea edx, [esp + 0x55c]
push edx
lea ecx, [esp + 0x7c]
call fcn.00402660
push 1
push edi
lea ebp, [esp + 0x560]
push 0x8dd050
lea ecx, [esp + 0x9c]
mov byte [esp + 0x96c], 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], edi
call fcn.0040f2a0
cmp eax, 0xffffffff
mov dword [esp + 0x40], eax
je 0x655307
mov ebx, 1
mov esi, eax
jmp 0x654b64
mov ebp, dword [esp + 0x30]
push 2
lea edi, [esi + ebp + 1]
push 0x880480
push edi
call fcn.0074f4cd
add esp, 0xc
test eax, eax
jne 0x6552b1
cmp byte [esi + ebp + 8], 0x2a
jne 0x655287
mov al, byte [esi + ebp + 9]
mov byte [esp + 0x17], al
movsx eax, al
add eax, ebp
cmp byte [eax + esi + 9], 0x7d
jne 0x65525d
xor eax, eax
push 4
lea ecx, [esi + ebp + 4]
push ecx
lea edx, [esp + 0x2c]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x2d], eax
mov byte [esp + 0x31], al
mov bl, byte [esi + ebp + 3]
push edx
mov byte [esp + 0x21], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x22], al
mov byte [esp + 0x20], al
mov dword [esp + 0x24], eax
call fcn.0074fc30
add esp, 0xc
test bl, 8
je 0x654beb
mov al, byte [esp + 0x24]
mov byte [esp + 0x14], al
test bl, 4
je 0x654bf8
mov cl, byte [esp + 0x25]
mov byte [esp + 0x16], cl
test bl, 2
je 0x654c05
mov dl, byte [esp + 0x26]
mov byte [esp + 0x13], dl
test bl, 1
je 0x654c12
mov al, byte [esp + 0x27]
mov byte [esp + 0x15], al
movzx esi, byte [esp + 0x14]
movzx ecx, byte [esp + 0x16]
movzx edx, byte [esp + 0x13]
movzx eax, byte [esp + 0x15]
shl esi, 8
add esi, ecx
shl esi, 8
add esi, edx
shl esi, 8
push 0x24
add esi, eax
call fcn.0074caae
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
xor ebx, ebx
cmp edi, ebx
mov byte [esp + 0x960], 2
je 0x654c75
mov ecx, edi
call fcn.0049fbb0
mov dword [edi], 0x7bec84
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x10], 2
mov ecx, edi
mov dword [esp + 0x6c], edi
jmp 0x654c7b
xor ecx, ecx
mov dword [esp + 0x6c], ecx
push ebx
push ebx
push 1
push esi
mov byte [esp + 0x970], 1
call fcn.004a89c0
cmp eax, ebx
mov dword [esp + 0x70], eax
je 0x65521a
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
lea edi, [ecx + esi]
cmp edi, ebx
mov dword [esp + 0x34], edi
jle 0x654d9b
push 0x400
lea edx, [esp + 0x15c]
push ebx
push edx
call fcn.0074d440
mov eax, dword [esp + 0x84]
add esp, 0xc
cmp dword [esp + 0x8c], 0x10
jae 0x654cdb
lea eax, [esp + 0x78]
push edi
push eax
lea eax, [esp + 0x160]
push eax
call fcn.0074fc30
push 0x3c
call fcn.0074caae
mov edi, eax
add esp, 0x10
mov dword [esp + 0x3c], edi
cmp edi, ebx
mov byte [esp + 0x960], 3
je 0x654d3a
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0xb0]
call fcn.004028b0
or dword [esp + 0x2c], 1
lea edx, [esp + 0xac]
push edx
mov ecx, edi
mov byte [esp + 0x964], 4
call fcn.00653b40
mov edi, eax
jmp 0x654d3c
xor edi, edi
test byte [esp + 0x2c], 1
mov dword [esp + 0x960], 1
je 0x654d5f
and dword [esp + 0x2c], 0xfffffffe
lea ecx, [esp + 0xac]
call fcn.0045deb0
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
push eax
push ebx
sub esp, 0x10
lea edx, [ebx + 0xa20]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.00653cd0
mov ecx, edi
call fcn.00654350
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebx + 0xa14]
mov dword [esp + 0x40], edi
call fcn.004eb8f0
xor ebx, ebx
cmp byte [esp + 0x17], 1
mov dword [esp + 0x68], ebx
jne 0x654db3
mov dword [esp + 0x3c], 9
jmp 0x654fb0
mov al, byte [esi + ebp + 0xa]
xor ecx, ecx
xor dl, dl
test al, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], 0xa
mov byte [esp + 0x15], cl
mov byte [esp + 0x13], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x14], cl
mov byte [esp + 0x3b], dl
mov byte [esp + 0x17], dl
mov byte [esp + 0x23], dl
jne 0x654df8
mov bl, byte [esi + ebp + 0xb]
mov ecx, 1
mov dword [esp + 0x18], ecx
mov byte [esp + 0x14], bl
test al, 2
jne 0x654e0e
add ecx, 1
lea edi, [ecx + ebp]
mov bl, byte [edi + esi + 0xa]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x16], bl
test al, 4
jne 0x654e24
add ecx, 1
lea edi, [ecx + ebp]
mov bl, byte [edi + esi + 0xa]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13], bl
test al, 8
jne 0x654e3a
add ecx, 1
lea edi, [ecx + ebp]
mov bl, byte [edi + esi + 0xa]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x15], bl
test al, 0x10
jne 0x654e50
add ecx, 1
lea edi, [ecx + ebp]
mov bl, byte [edi + esi + 0xa]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x23], bl
test al, 0x20
jne 0x654e66
add ecx, 1
lea edi, [ecx + ebp]
mov bl, byte [edi + esi + 0xa]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x17], bl
test al, 0x40
jne 0x654e7a
add ecx, 1
lea edi, [ecx + ebp]
mov bl, byte [edi + esi + 0xa]
mov dword [esp + 0x18], ecx
jmp 0x654e7e
mov bl, byte [esp + 0x3b]
test al, al
js 0x654e8f
add ecx, 1
mov dword [esp + 0x18], ecx
add ecx, ebp
mov dl, byte [ecx + esi + 0xa]
movzx esi, byte [esp + 0x14]
movzx ecx, byte [esp + 0x16]
movzx eax, byte [esp + 0x13]
movzx edi, byte [esp + 0x23]
shl esi, 8
add esi, ecx
movzx ecx, byte [esp + 0x15]
shl esi, 8
add esi, eax
movzx eax, byte [esp + 0x17]
shl edi, 8
add edi, eax
shl esi, 8
add esi, ecx
shl edi, 8
movzx ecx, bl
add edi, ecx
movzx edx, dl
shl edi, 8
add edi, edx
mov eax, esi
or eax, edi
je 0x654fb0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
add ecx, edx
lea ecx, [ecx + eax + 0xb]
mov ebp, 1
mov dword [esp + 0x60], ecx
lea ebx, [ebx]
cmp ebp, 0x1e
jg 0x654f12
mov edx, 1
mov ecx, ebp
shl edx, cl
test edi, edx
jmp 0x654f1e
lea ecx, [ebp - 0x1e]
mov eax, 1
shl eax, cl
test esi, eax
je 0x654f9a
mov ecx, dword [esp + 0x60]
push 3
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0074fc30
add esp, 0xc
cmp byte [esp + 0x24], 0xff
jne 0x654f43
movsx ax, byte [esp + 0x25]
jmp 0x654f5f
mov al, byte [esp + 0x25]
cmp al, 0xfe
jne 0x654f5b
movzx dx, byte [esp + 0x26]
mov word [esp + ebp*2 + 0x108], dx
jmp 0x654f74
movzx ax, al
movzx cx, byte [esp + 0x26]
shl ax, 8
add ax, cx
mov word [esp + ebp*2 + 0x108], ax
add dword [esp + 0x68], 1
add dword [esp + 0x60], 3
cmp dword [ebx + 8], 0
movsx eax, word [esp + ebp*2 + 0x108]
je 0x654fa4
push 0
push eax
push ebp
lea ecx, [ebx + 0xc]
call fcn.004a8330
jmp 0x654fa4
mov word [esp + ebp*2 + 0x108], 0
add ebp, 1
cmp ebp, 0x27
jl 0x654f00
push 0x34
call fcn.0074caae
xor edi, edi
add esp, 4
cmp eax, edi
je 0x654fe5
mov dword [eax + 8], edi
mov dword [eax], 0x8dceb0
mov dword [eax + 0x2c], 0xf
mov dword [eax + 0x28], edi
mov byte [eax + 0x18], 0
mov dword [eax + 0x10], 2
mov dword [eax + 4], edi
mov esi, eax
jmp 0x654fe7
xor esi, esi
push 0x3f
lea edx, [esp + 0xcd]
push edi
push edx
mov byte [esp + 0xd4], 0
call fcn.0074d440
mov ebp, dword [esp + 0x7c]
mov eax, dword [ebp + 8]
add esp, 0xc
cmp eax, edi
je 0x655012
mov eax, dword [eax + 0x1c]
jmp 0x655014
xor eax, eax
push eax
push 0x880478
lea eax, [esp + 0xd0]
push 0x40
push eax
call fcn.0067ad00
lea eax, [esp + 0xd8]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x655036
sub eax, edx
push eax
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esi + 0x14]
call fcn.00402660
cmp byte [0x992082], 0
je 0x655066
push 0x1b1cd34
call dword [0x794290]
cmp byte [0x992082], 0
mov ebx, dword [esp + 0x64]
mov edx, dword [ebx + 0x4f0]
mov edi, dword [edx + 0x14]
je 0x655087
push 0x1b1cd34
call dword [0x79428c]
lea eax, [esp + 0xc8]
push eax
mov ecx, edi
call fcn.0053a2e0
mov ecx, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x68]
lea edx, [ecx + eax*2]
mov ecx, dword [esp + 0x58]
add edx, eax
mov eax, dword [esp + 0x18]
lea edi, [edx + eax + 2]
mov edx, dword [esp + 0x34]
add edx, ecx
mov dword [esi + 0xc], edi
mov dword [esi + 4], edx
mov eax, dword [ebp + 8]
test eax, eax
je case.default.0x6550d8
mov eax, dword [eax + 0x17c]
cmp eax, 5
ja case.default.0x6550d8
jmp dword [eax*4 + 0x6554e4]
mov byte [esp + 0x5c], 0xb9
mov byte [esp + 0x5d], 0xb9
mov byte [esp + 0x5e], 0xb9
mov byte [esp + 0x5f], 0xff
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x30], eax
jmp case.default.0x6550d8
mov byte [esp + 0x48], 0xff
mov byte [esp + 0x49], 0xff
mov byte [esp + 0x4a], 0xff
mov byte [esp + 0x4b], 0xff
mov edx, dword [esp + 0x48]
jmp 0x655185
mov byte [esp + 0x4c], 0x55
mov byte [esp + 0x4d], 0xe0
mov byte [esp + 0x4e], 0x55
mov byte [esp + 0x4f], 0xff
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x30], eax
jmp case.default.0x6550d8
mov byte [esp + 0x54], 0x43
mov byte [esp + 0x55], 0x6e
mov byte [esp + 0x56], 0xfb
mov byte [esp + 0x57], 0xff
mov edx, dword [esp + 0x54]
jmp 0x655185
mov byte [esp + 0x44], 0xdc
mov byte [esp + 0x45], 0x6e
mov byte [esp + 0x46], 0xdc
mov byte [esp + 0x47], 0xff
mov eax, dword [esp + 0x44]
mov dword [esi + 0x30], eax
jmp case.default.0x6550d8
mov byte [esp + 0x50], 0xee
mov byte [esp + 0x51], 0x5a
mov byte [esp + 0x52], 4
mov byte [esp + 0x53], 0xff
mov edx, dword [esp + 0x50]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
add edi, eax
lea eax, [edi + edx]
add ecx, eax
mov dword [esp + 0x58], ecx
lea ecx, [esp + ecx + 0x558]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x6551a7
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.00402660
add dword [esp + 0x30], edi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x80]
call fcn.00402580
mov edi, dword [ebx + 0xa18]
mov eax, dword [edi + 4]
mov dword [esp + 0x34], esi
lea esi, [ebx + 0xa14]
lea edx, [esp + 0x34]
push edx
push eax
push edi
mov ecx, esi
call fcn.004b7440
push 1
mov ecx, esi
mov ebp, eax
call fcn.004eb460
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov dword [esp + 0x1c], 0
jmp 0x655244
add ebp, 1
mov eax, ebp
mov dword [esp + 0x30], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x655226
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x98]
call fcn.00402660
add dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x6552df
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x6552df
add ebp, ebx
mov eax, ebp
mov dword [esp + 0x30], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x655268
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x98]
call fcn.00402660
add dword [esp + 0x1c], ebx
jmp 0x6552df
add ebp, ebx
mov eax, ebp
mov dword [esp + 0x30], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x655292
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x98]
call fcn.00402660
add dword [esp + 0x1c], ebx
jmp 0x6552df
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + esi + 1]
mov eax, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x6552c6
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x98]
call fcn.00402660
mov ebx, 1
push ebx
push 0
push 0x8dd050
lea ecx, [esp + 0x9c]
call fcn.0040f2a0
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x40], esi
jne 0x654b60
xor ebx, ebx
cmp dword [esp + 0x88], ebx
je 0x65547e
push 0x3ff
lea eax, [esp + 0x15d]
push ebx
push eax
mov byte [esp + 0x164], bl
call fcn.0074d440
mov eax, dword [esp + 0x84]
mov edi, 0x10
add esp, 0xc
cmp dword [esp + 0x8c], edi
jae 0x65534c
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x15c]
push 0x400
push ecx
call fcn.0067acb0
push 0x3c
call fcn.0074caae
mov esi, eax
add esp, 0x10
mov dword [esp + 0x34], esi
cmp esi, ebx
mov byte [esp + 0x960], 6
je 0x6553e0
lea eax, [esp + 0x158]
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x6553a0
sub eax, edx
push eax
lea edx, [esp + 0x15c]
push edx
lea ecx, [esp + 0xb4]
call fcn.00402660
or dword [esp + 0x2c], 2
lea eax, [esp + 0xac]
push eax
mov ecx, esi
mov byte [esp + 0x964], 7
call fcn.00653b40
mov esi, eax
jmp 0x6553e2
xor esi, esi
test byte [esp + 0x2c], 2
mov dword [esp + 0x960], 1
je 0x655427
cmp dword [esp + 0xc4], edi
jb 0x65540d
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0074c96f
add esp, 4
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], 0
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
push edx
push edi
sub esp, 0x10
lea eax, [edi + 0xa20]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00653cd0
mov ecx, esi
call fcn.00654350
mov dword [esp + 0x34], esi
lea esi, [edi + 0xa14]
mov edi, dword [esi + 4]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x34]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004b7440
push 1
mov ecx, esi
mov ebp, eax
call fcn.004eb460
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x655499
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0074c96f
add esp, 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], 0
jb 0x6554c9
mov edx, dword [esp + 0x94]
push edx
call fcn.0074c96f
add esp, 4
mov ecx, dword [esp + 0x958]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x954
ret