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

Disassembly:
push 0xffffffffffffffff
push 0x556177
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esi + 0x2bc]
mov dword [esp + 0x28], esi
call fcn.0052942e
lea ecx, [esp + 0x50]
call fcn.00477df0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x4c0], ebx
call fcn.00496c20
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x1c], edi
jne 0x4971e2
lea ecx, [esp + 0x50]
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x55f890
call fcn.00477ff0
push 0x5b0a40
lea ecx, [esi + 0x238]
call fcn.005292c2
push 0x5b0a40
lea ecx, [esi + 0x274]
call fcn.005292c2
mov dword [esi + 0x7e8], 0
mov ecx, dword [esp + 0x4ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4a8
ret
push 0x5a6438
lea ecx, [esp + 0x14]
call fcn.0052808d
mov eax, dword [0x5ada84]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x28]
push 0xffff
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
push edx
mov ecx, 0x5b12d0
mov byte [esp + 0x4c8], 2
call fcn.00454c30
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.00528437
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xac], 0
cmp eax, ebx
je 0x49723e
xor ebx, ebx
mov bl, byte [eax]
test ebx, ebx
lea ebp, [eax + 1]
jle 0x4972db
mov eax, dword [ebp]
lea ecx, [esp + 0x78]
push eax
push 0x58a810
push ecx
add ebp, 4
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xac]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp ebx, 1
rep movsb byte es:[edi], byte [esi]
jle 0x4972ca
mov edi, 0x5a2ea4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xac]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
dec ebx
test ebx, ebx
jg 0x497249
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push eax
call fcn.004ce550
mov esi, eax
add esp, 4
test esi, esi
je 0x497317
push 0x5a6428
lea ecx, [esp + 0x14]
call fcn.005283fb
lea eax, [esp + 0xac]
lea ecx, [esp + 0x10]
push eax
call fcn.005283fb
push 0x59feec
lea ecx, [esp + 0x14]
call fcn.005283fb
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004e5910
add esp, 4
xor ebx, ebx
test esi, esi
jne 0x49796c
cmp eax, 3
jne 0x497363
mov eax, dword [esp + 0x28]
cmp eax, 0x10003
je 0x49735c
push esi
push eax
mov ecx, 0x5b12d0
call fcn.004544c0
test eax, eax
je 0x49796c
test byte [eax + 0x14], 0x40
je 0x49796c
mov ebx, 1
jmp 0x49736c
cmp eax, 1
jne 0x49796c
mov edx, dword [esp + 0x28]
mov ecx, 0x5b12d0
push edx
call fcn.004127d0
mov ecx, dword [0x5b16bc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x34]
push eax
push edi
push ecx
call ebp
test eax, eax
jne 0x4973d5
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.0052801f
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.0052801f
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x55f890
jmp 0x49790f
lea ecx, [esp + 0x38]
mov byte [esp + 0xac], 0
lea esi, [esp + 0xac]
call fcn.00477df0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4b4], 3
cmp eax, 0x80000101
mov dword [esp + 0x18], 1
ja 0x4976e9
je 0x4976c4
add eax, 0x7ffffffe
cmp eax, 4
ja case.default.0x497420
jmp dword [eax*4 + 0x4979e4]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.004e6ba0
jmp 0x4978bd
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xac]
push ecx
push edx
push eax
call fcn.004e5e70
add esp, 0xc
jmp 0x4978c0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push ecx
push 0x58ad0c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [esp + 0x18], 0
jmp 0x4978c0
mov ebx, dword [esp + 0x2c]
xor edi, edi
cmp ebx, edi
je 0x4974ea
push 0x40a
lea ecx, [esp + 0x3c]
call fcn.00477e10
mov esi, eax
mov dword [esp + 0x18], edi
mov eax, dword [0x5b16bc]
push 0
push 1
push esi
push ebx
push eax
call ebp
test eax, eax
je 0x4974c5
cmp byte [esi], 0
je 0x49750e
inc ebx
inc esi
inc edi
cmp edi, 0x400
jl 0x4974a3
mov byte [esi], 0x20
inc esi
mov byte [esi], 0x20
inc esi
mov byte [esi], 0x2e
inc esi
mov byte [esi], 0x2e
inc esi
mov byte [esi], 0x2e
mov byte [esi + 1], 0
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00478c40
add esp, 4
test eax, eax
je 0x4978c0
push 0x5a2e4c
lea ecx, [esp + 0x14]
call fcn.005283fb
jmp 0x4978c0
mov dword [esp + 0x18], 1
jmp 0x4974dc
mov eax, dword [esp + 0x2c]
test eax, eax
mov ebx, eax
je 0x4976b1
mov edx, dword [0x5b16bc]
push 0
lea ecx, [esp + 0x18]
push 4
add eax, 4
push ecx
push eax
push edx
call ebp
test eax, eax
je 0x4978c4
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4978c4
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0xb0]
push 0x5a2e20
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x14]
call fcn.005283fb
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, 0x400
setle dl
cmp eax, 0x400
mov dword [esp + 0x18], edx
jle 0x49759b
mov dword [esp + 0x14], 0x400
lea ecx, [esp + 0x64]
call fcn.00477df0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push eax
mov byte [esp + 0x4b8], 4
call fcn.00477e10
mov ecx, dword [esp + 0x14]
mov edx, dword [0x5b16bc]
mov esi, eax
push 0
push ecx
add ebx, 8
push esi
push ebx
push edx
call ebp
test eax, eax
jne 0x4975f3
lea ecx, [esp + 0x64]
mov byte [esp + 0x4b4], 3
mov dword [esp + 0x64], 0x55f890
call fcn.00477ff0
jmp 0x4978c4
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x497643
xor eax, eax
mov al, byte [esi]
inc esi
push eax
lea eax, [esp + 0xb0]
push 0x58ad0c
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004781a0
mov edx, dword [esp + 0x14]
dec edx
cmp ebx, edx
je 0x49763a
push 0x2c
lea ecx, [esp + 0x3c]
call fcn.00478130
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x4975fd
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x49767a
push 0x2020
lea ecx, [esp + 0x3c]
call fcn.004780f0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00478130
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00478130
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00478130
push 0
lea ecx, [esp + 0x3c]
call fcn.00478130
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
neg esi
sbb esi, esi
lea ecx, [esp + 0x64]
and esi, eax
mov byte [esp + 0x4b4], 3
mov dword [esp + 0x64], 0x55f890
call fcn.00477ff0
jmp 0x4978c0
push 0x5a2e10
lea ecx, [esp + 0x14]
call fcn.005283fb
jmp 0x4978c0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xac]
and eax, 0xff
push eax
push 0x58ad0c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4978c0
cmp eax, 0x80000401
ja 0x497750
je 0x49772f
cmp eax, 0x80000201
je 0x497717
cmp eax, 0x80000301
jne case.default.0x497420
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.004e56b0
jmp 0x4978bd
movsx edx, word [esp + 0x2c]
lea ecx, [esp + 0xac]
push ecx
push edx
call fcn.004e56b0
jmp 0x4978bd
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push 0xa
push eax
push ecx
push edx
call fcn.00511d64
add esp, 0x10
jmp 0x4978c0
cmp eax, 0x80000501
je 0x4978ab
cmp eax, 0x80000601
je 0x49788f
test ebx, ebx
je 0x4978c4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x49778c
mov esi, 0x5a641c
jmp 0x4978c0
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, 0x5b1514
call fcn.004d7d40
test eax, eax
je 0x4978c4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4978c4
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
je 0x497886
push 0
lea ecx, [edx + 0x14]
call fcn.004d7530
cmp ebx, eax
je 0x497886
mov edi, 0x59e188
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [eax + 0x14]
call fcn.004d75d0
test eax, eax
je 0x4978c4
mov ecx, dword [esp + 0x1c]
push eax
add ecx, 0x14
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edi, eax
push edi
call fcn.00478c40
add esp, 4
test eax, eax
jne 0x4978c4
or ecx, 0xffffffff
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0xac]
jmp 0x4978c0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push eax
push ecx
push edx
call fcn.004e5d50
add esp, 0xc
jmp 0x4978c0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push eax
push ecx
call fcn.004e5cc0
add esp, 8
test esi, esi
jne 0x497921
mov esi, 0x55f890
lea ecx, [esp + 0x38]
mov byte [esp + 0x4b4], 2
mov dword [esp + 0x38], esi
call fcn.00477ff0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.0052801f
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.0052801f
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
call fcn.00477ff0
mov esi, dword [esp + 0x24]
jmp 0x49719f
push esi
mov esi, dword [esp + 0x28]
lea ecx, [esi + 0x274]
call fcn.005292c2
mov edx, dword [esi + 0x290]
push 0
push 0
push 0xb9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov dword [esi + 0x7e8], eax
mov byte [esp + 0x4b4], 2
mov dword [esp + 0x38], 0x55f890
call fcn.00477ff0
jmp 0x49798e
mov eax, dword [esp + 0x24]
push 0x5a63ec
lea ecx, [eax + 0x274]
mov dword [eax + 0x7e8], 0
call fcn.005292c2
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x238]
call fcn.005292c2
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.0052801f
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.0052801f
lea ecx, [esp + 0x50]
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x55f890
call fcn.00477ff0
jmp 0x4971c9