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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
push edi
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x28c], 0
push 0
lea eax, [ebp - 0x314]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e483d
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x106], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x106]
push eax
call fcn.004e3c2e
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x482b6a
jmp 0x483395
mov dword [ebp - 0x150], 1
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x106]
push eax
call fcn.004e436b
add esp, 8
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x482ba2
jmp 0x483395
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x18], 0x7d00
jle 0x482bc3
mov dword [ebp - 0x154], 0x7d00
cmp dword [ebp - 0x160], 0
jne 0x482c47
mov eax, dword [ebp - 0x154]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x482c38
cmp dword [ebp - 0x154], 0x100
jle 0x482c2e
mov eax, dword [ebp - 0x154]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x154], eax
jmp 0x482c33
jmp 0x483395
jmp 0x482c42
mov dword [ebp - 0x160], 1
jmp 0x482bc3
dec dword [ebp - 0x154]
mov dword [ebp - 0x130], 0xc88
mov eax, dword [ebp - 0x130]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x482c93
jmp 0x483395
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [eax], 0
mov eax, dword [ebp - 0x138]
mov dword [eax + 8], pe_nt_image_headers32
mov eax, dword [ebp - 0x138]
mov dword [eax + 0xc], 0xd0
mov eax, dword [ebp - 0x138]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x14], 1
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x3c], 0xffffffff
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x1c], 6
mov eax, dword [ebp - 0x138]
add eax, 0x80
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x16c]
mov dword [eax + 0x38], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x70]
mov ecx, dword [ebp - 0x16c]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x74]
mov ecx, dword [ebp - 0x16c]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 0x78]
mov eax, dword [ebp - 0x16c]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x7a]
mov ecx, dword [ebp - 0x16c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x118
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x482dca
jmp 0x483395
mov dword [ebp - 0x164], 1
push 4
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x482e05
jmp 0x483395
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0x178], 1
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x106]
push eax
call dword [sym.imp.KERNEL32.dll__llseek]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004e3c2e
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x482eac
jmp 0x483395
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11b]
mov byte [ebp - 0x12c], al
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11a]
mov byte [ebp - 0x168], al
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x128], eax
jge 0x483227
mov eax, dword [ebp - 0x154]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x106]
push eax
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jl 0x482f2f
mov dword [ebp - 0x144], 0
jmp 0x482f39
mov dword [ebp - 0x144], 0x2713
cmp dword [ebp - 0x144], 0
je 0x482f4b
jmp 0x483227
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xca], 0
je 0x482f73
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x174], 0
jmp 0x482fa3
inc dword [ebp - 0x174]
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 4], eax
jle 0x483219
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 8]
movsx eax, byte [eax + ecx]
movsx ecx, byte [ebp - 0x12c]
cmp eax, ecx
jne 0x483142
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x14c]
mov dword [edx + ecx*4 + 0x18], eax
cmp dword [ebp - 0x15c], 0
jne 0x482ffc
inc dword [ebp - 0x148]
jmp 0x483002
inc dword [ebp - 0x28c]
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11a]
mov byte [ebp - 0x168], al
cmp dword [ebp - 0x15c], 0
je 0x483056
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x28c], eax
je 0x483049
cmp dword [ebp - 0x10], 0
jne 0x483044
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x483056
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x28c], 0
inc dword [ebp - 0x15c]
je 0x48312a
mov eax, dword [ebp - 0x15c]
cdq
xor eax, edx
sub eax, edx
and eax, 0x3f
xor eax, edx
sub eax, edx
jne 0x48312a
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x15c], eax
je 0x48312a
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
add eax, 0x100
push eax
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4830f0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x13c]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x48312a
jmp 0x483219
mov eax, dword [ebp - 0x128]
add eax, dword [ebp - 0x174]
inc eax
mov dword [ebp - 0x124], eax
jmp 0x483214
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 0x11a]
cmp eax, 0x2c
jne 0x483193
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 8]
movsx eax, byte [eax + ecx]
cmp eax, 0x22
jne 0x483193
movsx eax, byte [ebp - 0x168]
cmp eax, 0x22
jne 0x483187
mov byte [ebp - 0x168], 0x2c
jmp 0x48318e
mov byte [ebp - 0x168], 0x22
jmp 0x483214
cmp dword [ebp - 0x15c], 0
jne 0x4831d6
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 8]
movsx eax, byte [eax + ecx]
movsx ecx, byte [ebp - 0x168]
cmp eax, ecx
jne 0x4831d6
inc dword [ebp - 0x148]
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11a]
mov byte [ebp - 0x168], al
jmp 0x483214
cmp dword [ebp - 0x15c], 0
je 0x483214
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 8]
movsx eax, byte [eax + ecx]
movsx ecx, byte [ebp - 0x168]
cmp eax, ecx
jne 0x483214
inc dword [ebp - 0x28c]
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11a]
mov byte [ebp - 0x168], al
jmp 0x482f9d
mov eax, dword [ebp - 4]
add dword [ebp - 0x128], eax
jmp 0x482edd
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x10], 0
je 0x483323
cmp dword [ebp - 0x144], 0
jne 0x483323
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x284], eax
jle 0x483323
lea eax, [ebp - 0x120]
push eax
push 0x228
call fcn.004e3fc4
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
push 0x531838
lea eax, [ebp - 0x280]
push eax
call fcn.00522590
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x280]
push eax
push 0x229
call fcn.004e3fc4
add esp, 8
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x280]
push eax
push 0x222
call fcn.004e3fc4
add esp, 8
mov dword [0x533660], 1
push 4
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x120]
push eax
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x483319
mov dword [ebp - 0x144], 7
mov dword [0x533660], 0
cmp dword [ebp - 0x144], 0
je 0x483335
jmp 0x483395
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10a], eax
cmp dword [ebp - 0x148], 0
jne 0x48335b
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10e], eax
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x120], eax
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x124], eax
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x144], 0
je 0x483429
cmp dword [ebp - 0x170], 0
je 0x4833bc
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x178], 0
je 0x4833d3
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x164], 0
je 0x4833ed
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x160], 0
je 0x483407
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x150], 0
je 0x483424
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x106]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x483472
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x144]
jmp 0x48347d
pop edi
pop esi
pop ebx
leave
ret 8