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

Disassembly:
push 0xffffffffffffffff
push 0x556057
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.0052930e
lea ecx, [esp + 0x50]
call fcn.00477cf0
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.00496b30
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x1c], edi
jne 0x4970f2
lea ecx, [esp + 0x50]
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x55f890
call fcn.00477ef0
push 0x5b0a40
lea ecx, [esi + 0x238]
call fcn.005291a2
push 0x5b0a40
lea ecx, [esi + 0x274]
call fcn.005291a2
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.00527f6d
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.00454b30
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.00528317
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xac], 0
cmp eax, ebx
je 0x49714e
xor ebx, ebx
mov bl, byte [eax]
test ebx, ebx
lea ebp, [eax + 1]
jle 0x4971eb
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 0x4971da
mov edi, 0x5a2ea0
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 0x497159
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push eax
call fcn.004ce440
mov esi, eax
add esp, 4
test esi, esi
je 0x497227
push 0x5a6428
lea ecx, [esp + 0x14]
call fcn.005282db
lea eax, [esp + 0xac]
lea ecx, [esp + 0x10]
push eax
call fcn.005282db
push 0x59feec
lea ecx, [esp + 0x14]
call fcn.005282db
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004e5810
add esp, 4
xor ebx, ebx
test esi, esi
jne 0x49787c
cmp eax, 3
jne 0x497273
mov eax, dword [esp + 0x28]
cmp eax, 0x10003
je 0x49726c
push esi
push eax
mov ecx, 0x5b12d0
call fcn.004543c0
test eax, eax
je 0x49787c
test byte [eax + 0x14], 0x40
je 0x49787c
mov ebx, 1
jmp 0x49727c
cmp eax, 1
jne 0x49787c
mov edx, dword [esp + 0x28]
mov ecx, 0x5b12d0
push edx
call fcn.004126b0
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 0x4972e5
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.00527eff
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.00527eff
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x55f890
jmp 0x49781f
lea ecx, [esp + 0x38]
mov byte [esp + 0xac], 0
lea esi, [esp + 0xac]
call fcn.00477cf0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4b4], 3
cmp eax, 0x80000101
mov dword [esp + 0x18], 1
ja 0x4975f9
je 0x4975d4
add eax, 0x7ffffffe
cmp eax, 4
ja case.default.0x497330
jmp dword [eax*4 + 0x4978f4]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.004e6aa0
jmp 0x4977cd
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xac]
push ecx
push edx
push eax
call fcn.004e5d70
add esp, 0xc
jmp 0x4977d0
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 0x4977d0
mov ebx, dword [esp + 0x2c]
xor edi, edi
cmp ebx, edi
je 0x4973fa
push 0x40a
lea ecx, [esp + 0x3c]
call fcn.00477d10
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 0x4973d5
cmp byte [esi], 0
je 0x49741e
inc ebx
inc esi
inc edi
cmp edi, 0x400
jl 0x4973b3
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.00478b40
add esp, 4
test eax, eax
je 0x4977d0
push 0x5a2e48
lea ecx, [esp + 0x14]
call fcn.005282db
jmp 0x4977d0
mov dword [esp + 0x18], 1
jmp 0x4973ec
mov eax, dword [esp + 0x2c]
test eax, eax
mov ebx, eax
je 0x4975c1
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 0x4977d4
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4977d4
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0xb0]
push 0x5a2e1c
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x14]
call fcn.005282db
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, 0x400
setle dl
cmp eax, 0x400
mov dword [esp + 0x18], edx
jle 0x4974ab
mov dword [esp + 0x14], 0x400
lea ecx, [esp + 0x64]
call fcn.00477cf0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push eax
mov byte [esp + 0x4b8], 4
call fcn.00477d10
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 0x497503
lea ecx, [esp + 0x64]
mov byte [esp + 0x4b4], 3
mov dword [esp + 0x64], 0x55f890
call fcn.00477ef0
jmp 0x4977d4
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x497553
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.004780a0
mov edx, dword [esp + 0x14]
dec edx
cmp ebx, edx
je 0x49754a
push 0x2c
lea ecx, [esp + 0x3c]
call fcn.00477ff0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x49750d
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x49758a
push 0x2020
lea ecx, [esp + 0x3c]
call fcn.00477fb0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00477ff0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00477ff0
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00477ff0
push 0
lea ecx, [esp + 0x3c]
call fcn.00477ff0
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.00477ef0
jmp 0x4977d0
push 0x5a2e0c
lea ecx, [esp + 0x14]
call fcn.005282db
jmp 0x4977d0
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 0x4977d0
cmp eax, 0x80000401
ja 0x497660
je 0x49763f
cmp eax, 0x80000201
je 0x497627
cmp eax, 0x80000301
jne case.default.0x497330
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.004e55b0
jmp 0x4977cd
movsx edx, word [esp + 0x2c]
lea ecx, [esp + 0xac]
push ecx
push edx
call fcn.004e55b0
jmp 0x4977cd
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push 0xa
push eax
push ecx
push edx
call fcn.00511c3e
add esp, 0x10
jmp 0x4977d0
cmp eax, 0x80000501
je 0x4977bb
cmp eax, 0x80000601
je 0x49779f
test ebx, ebx
je 0x4977d4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x49769c
mov esi, 0x5a641c
jmp 0x4977d0
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, 0x5b1514
call fcn.004d7c30
test eax, eax
je 0x4977d4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4977d4
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 0x497796
push 0
lea ecx, [edx + 0x14]
call fcn.004d7420
cmp ebx, eax
je 0x497796
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.004d74c0
test eax, eax
je 0x4977d4
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.00478b40
add esp, 4
test eax, eax
jne 0x4977d4
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 0x4977d0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push eax
push ecx
push edx
call fcn.004e5c50
add esp, 0xc
jmp 0x4977d0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xac]
push eax
push ecx
call fcn.004e5bc0
add esp, 8
test esi, esi
jne 0x497831
mov esi, 0x55f890
lea ecx, [esp + 0x38]
mov byte [esp + 0x4b4], 2
mov dword [esp + 0x38], esi
call fcn.00477ef0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.00527eff
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.00527eff
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
call fcn.00477ef0
mov esi, dword [esp + 0x24]
jmp 0x4970af
push esi
mov esi, dword [esp + 0x28]
lea ecx, [esi + 0x274]
call fcn.005291a2
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.00477ef0
jmp 0x49789e
mov eax, dword [esp + 0x24]
push 0x5a63ec
lea ecx, [eax + 0x274]
mov dword [eax + 0x7e8], 0
call fcn.005291a2
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x238]
call fcn.005291a2
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.00527eff
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b4], 0
call fcn.00527eff
lea ecx, [esp + 0x50]
mov dword [esp + 0x4b4], 0xffffffff
mov dword [esp + 0x50], 0x55f890
call fcn.00477ef0
jmp 0x4970d9