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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebx, ecx
cmp word [ebx + 0x1e], 0xffff
push esi
push edi
jne 0x49837d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4
mov ecx, dword [0x652e04]
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
mov ebp, dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
xor edx, edx
mov dl, byte [ecx + 0x3dd0]
mov ecx, dword [eax + 0x790d8]
push edx
mov edx, dword [eax + 0x79090]
push ecx
mov ecx, dword [eax + 0x79048]
push edx
mov edx, dword [eax + 0x79000]
add ecx, ebp
push ecx
add edx, esi
mov esi, dword [esp + 0x88]
push edx
push esi
call fcn.004a1be0
add esp, 0x18
push 0
push esi
mov ecx, ebx
call fcn.00453100
mov ecx, dword [0x652e00]
call fcn.004a21f0
xor eax, eax
mov byte [esp + 0x34], 0
mov ecx, 0xf
lea edi, [esp + 0x35]
rep stosd dword es:[edi], eax
mov ecx, dword [0xec0e0c]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ecx]
lea eax, [ebx + 0x3c0]
push eax
add edx, 0x79748
push edx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebx + 0x3b4]
mov ebp, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
add esp, 0xc
test eax, eax
jne 0x498464
mov ecx, dword [0xec0e0c]
mov eax, dword [ecx]
lea edx, [eax + 0x79790]
push edx
mov edx, dword [eax + 0x793e8]
mov eax, dword [eax + 0x793a0]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [0x652e00]
push str._s__s_
push 0
push 0
push 0xffffff
add edx, edi
push edx
add eax, ebp
push eax
push ecx
jmp 0x49849e
mov edx, dword [0xec0e0c]
mov eax, dword [edx]
lea ecx, [eax + 0x797d8]
push ecx
mov ecx, dword [eax + 0x793e8]
lea edx, [esp + 0x38]
push edx
mov edx, dword [eax + 0x793a0]
mov eax, dword [0x652e00]
push str._s__s_
push 0
push 0
push 0xffffff
add ecx, edi
push ecx
add edx, ebp
push edx
push eax
call fcn.004a27f0
add esp, 0x24
xor eax, eax
lea ecx, [ebx + 0x2b0]
lea edx, [ebx + 0x649]
lea edi, [ebx + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
lea ebp, [ebx + 0x2d4]
mov dword [esp + 0x14], edi
lea ecx, [ecx]
cmp word [edi], 0
je 0x4985dc
movzx ecx, byte [ebx + 0x3bc]
cmp ecx, eax
jne 0x498507
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebp]
mov eax, dword [ebp - 4]
push 0
push esi
add edx, ecx
push 0x2712
push edx
add eax, dword [ebx + 0x20]
push eax
mov ecx, 0xe5a570
call fcn.00454e70
push 0
push esi
mov edx, dword [ebx + 0x20]
sub esp, 0x50
mov esi, edi
mov edi, esp
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
add ecx, dword [ebx + 0x24]
push ecx
add edx, dword [ebp - 4]
push edx
mov ecx, 0xe5a570
call fcn.00455360
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
mov esi, dword [eax + 0x79430]
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebp]
mov edx, dword [ebp - 4]
add esi, edi
mov edi, dword [eax + 0x79478]
mov eax, dword [ebx + 0x24]
add edi, ecx
mov ecx, dword [esp + 0x14]
add esi, edx
movzx edx, word [ecx]
mov ecx, dword [0x652e00]
push 0
add edi, eax
mov eax, dword [edx*4 + 0xe5a580]
push 0
push 0xffffff
add eax, 4
push eax
push edi
push esi
call fcn.004a22b0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
mov edx, dword [0x652e00]
je 0x4985d0
push eax
mov dword [esp + 0x24], edx
call fcn.004a1f50
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [0xec0e0c]
mov ecx, dword [eax]
add ecx, 0x79820
push ecx
push str._s:_s
push 0
push 0
push 0xffff
add edi, 0xc
push edi
push esi
push edx
call fcn.004a23d0
add esp, 0x28
jmp 0x4986f2
mov eax, dword [0xec0e0c]
mov eax, dword [eax]
jmp 0x4986c9
cmp word [edi + 0x399], 0
lea eax, [edi + 0x399]
je 0x4986f6
push 0xe
push esi
sub esp, 0x50
mov esi, eax
mov eax, dword [ebp]
mov edi, esp
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x24]
movsw word es:[edi], word [esi]
add eax, ecx
mov ecx, dword [ebx + 0x20]
movsb byte es:[edi], byte [esi]
add ecx, dword [ebp - 4]
push eax
push ecx
mov ecx, 0xe5a570
call fcn.00455360
mov edx, dword [0xec0e0c]
mov eax, dword [edx]
mov esi, dword [eax + 0x79430]
mov ecx, dword [ebx + 0x20]
mov edi, dword [ebp - 4]
mov edx, dword [ebp]
add esi, ecx
mov ecx, dword [ebx + 0x24]
add esi, edi
mov edi, dword [eax + 0x79478]
add edi, edx
mov edx, dword [0x652e00]
add edi, ecx
mov ecx, dword [esp + 0x18]
push ecx
add eax, 0x798b0
push eax
push str._s:_s
push 0
push 0
push 0xff00
push edi
push esi
push edx
call fcn.004a23d0
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add esp, 0x24
test eax, eax
je 0x4986bb
mov ecx, dword [0x652e00]
push eax
mov dword [esp + 0x24], ecx
call fcn.004a1f50
mov edx, dword [0xec0e0c]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
add eax, 0x79820
push eax
push str._s:_s
push 0
push 0
push 0x808080
add edi, 0xc
push edi
push esi
push ecx
call fcn.004a23d0
add esp, 0x28
jmp 0x4986f2
mov edx, dword [0xec0e0c]
mov eax, dword [edx]
mov edx, dword [0x652e00]
lea ecx, [eax + 0x79868]
push ecx
add eax, 0x79820
push eax
push str._s:_s
push 0
push 0
push 0xffff
add edi, 0xc
push edi
push esi
push edx
call fcn.004a23d0
add esp, 0x24
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add edi, 4
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
inc eax
add edi, 0x4f
add edx, 0x11
add ebp, 0x10
cmp eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
jl 0x4984d0
mov ecx, dword [0x652e00]
call fcn.004a2250
mov al, byte [ebx + 0x3b0]
test al, al
push 0
push esi
jne 0x498761
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
push eax
push ecx
mov ecx, dword [ebx + 4]
call fcn.00404e00
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
push 0
push esi
push edx
push eax
jmp 0x49877f
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
push ecx
mov ecx, dword [ebx + 4]
push edx
add ecx, 0x2c
call fcn.00404e00
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
push 0
push esi
push eax
push ecx
mov ecx, dword [ebx + 4]
add ecx, 0x58
call fcn.00404e00
mov al, byte [ebx + 0x3bd]
cmp al, 0xff
je 0x4987fc
cmp al, byte [ebx + 0x3bc]
je 0x4987fc
movzx eax, al
mov edx, eax
imul edx, edx, 0x4f
cmp word [edx + ebx + 0x38], 0
je 0x4987fc
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.00457d20
movzx ecx, byte [ebx + 0x3bd]
mov edx, dword [esp + 0x28]
imul ecx, ecx, 0x4f
mov eax, dword [esp + 0x24]
push 1
push 0xa
sub esp, 0x50
lea esi, [ecx + ebx + 0x38]
mov edi, esp
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xd0]
add edx, 0x20
push edx
add eax, 0x10
movsw word es:[edi], word [esi]
push eax
push ecx
mov ecx, 0xe5a570
movsb byte es:[edi], byte [esi]
call fcn.00456320
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 4