Function at 0x498520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], esi
cmp dword [esi + 0x24], ebx
je 0x498541
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [str.iWInen.tldl]
mov ecx, dword [0x4e2474]
mov edx, dword [0x4e2478]
mov dword [ebp - 0x24c], eax
mov eax, dword [0x4e247c]
push 0x1f0
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x248], ecx
mov ecx, dword [0x4e2480]
mov dword [ebp - 0x244], edx
mov edx, dword [0x4e2484]
lea eax, [ebp - 0x234]
push ebx
push eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], edx
call fcn.004b03e0
add esp, 0xc
lea eax, [ebp - 0x24c]
cmp word [ebp - 0x24c], bx
je 0x4985ce
jmp 0x4985b0
movzx ecx, word [eax + 2]
cmp cx, bx
je 0x4985ce
mov dl, byte [eax]
mov word [eax], cx
movzx cx, dl
mov word [eax + 2], cx
add eax, 4
cmp word [eax], bx
jne 0x4985b0
lea edx, [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x24], eax
cmp eax, ebx
jne 0x498607
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x24c]
push eax
push str.LoadLibrary__s__failed__code_u
call fcn.00498100
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.tHptpOneeRuqseWt
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x498635
mov edi, edi
mov cl, byte [eax + 1]
cmp cl, bl
je 0x498635
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x498620
mov eax, dword [esi + 0x24]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [ebp - 0x44]
push edx
push eax
call edi
mov dword [esi], eax
lea edx, [ebp - 0x44]
cmp eax, ebx
jne 0x498699
push 0x104
lea ecx, [ebp - 0x24c]
push ecx
push 0xffffffffffffffff
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x24c]
push eax
push str.GetProcAddress__s__failed__code_u
call fcn.00498100
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.tHptuQreIyfnWo
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x4986c5
lea ecx, [ecx]
mov cl, byte [eax + 1]
cmp cl, bl
je 0x4986c5
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x4986b0
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x44]
push eax
push ecx
call edi
mov dword [esi + 4], eax
cmp eax, ebx
lea eax, [ebp - 0x44]
jne 0x498723
push 0x104
lea edx, [ebp - 0x24c]
push edx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, dword [ebp + 8]
push str.GetProcAddress__s__failed__code_u
call fcn.00498100
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.tHpteSdneRuqseWt
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x49874c
mov cl, byte [eax + 1]
cmp cl, bl
je 0x49874c
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x498737
mov edx, dword [esi + 0x24]
lea ecx, [ebp - 0x44]
push ecx
push edx
call edi
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x4987f0
push 0x104
lea eax, [ebp - 0x24c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498790
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 0x84]
push edx
call fcn.004412a0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4987d5
push edi
lea eax, [ebp - 0x24c]
push eax
push str.GetProcAddress__s__failed__code_u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00498000
mov esi, dword [ebp - 4]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.nIetnrtelCsoHenalde
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x49881c
mov cl, byte [eax + 1]
cmp cl, bl
je 0x49881c
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x498807
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x44]
push eax
push ecx
call edi
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x4988c0
push 0x104
lea edx, [ebp - 0x24c]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498860
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 0x84]
push ecx
call fcn.004412a0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4988a5
push edi
lea edx, [ebp - 0x24c]
push edx
push str.GetProcAddress__s__failed__code_u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00498000
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.nIetnrteoCnnceWt
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x4988ec
mov cl, byte [eax + 1]
cmp cl, bl
je 0x4988ec
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x4988d7
mov eax, dword [esi + 0x24]
lea edx, [ebp - 0x44]
push edx
push eax
call edi
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x498990
push 0x104
lea ecx, [ebp - 0x24c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x44]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498930
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x84]
push eax
call fcn.004412a0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x498975
push edi
lea ecx, [ebp - 0x24c]
push ecx
push str.GetProcAddress__s__failed__code_u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00498000
mov esi, dword [ebp - 4]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.nIetnrteeSOttpoiWn
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x4989bc
mov cl, byte [eax + 1]
cmp cl, bl
je 0x4989bc
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x4989a7
mov edx, dword [esi + 0x24]
lea ecx, [ebp - 0x44]
push ecx
push edx
call edi
mov dword [esi + 0x1c], eax
cmp eax, ebx
jne 0x498a60
push 0x104
lea eax, [ebp - 0x24c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498a00
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 0x84]
push edx
call fcn.004412a0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x498a45
push edi
lea eax, [ebp - 0x24c]
push eax
push str.GetProcAddress__s__failed__code_u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00498000
mov esi, dword [ebp - 4]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.nIetnrteuQreOytpoiWn
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x498a8c
mov cl, byte [eax + 1]
cmp cl, bl
je 0x498a8c
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x498a77
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x44]
push eax
push ecx
call edi
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x498b30
push 0x104
lea edx, [ebp - 0x24c]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498ad0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 0x84]
push ecx
call fcn.004412a0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x498b15
push edi
lea edx, [ebp - 0x24c]
push edx
push str.GetProcAddress__s__failed__code_u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00498000
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.nIetnrtepOneW
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x498b5c
mov cl, byte [eax + 1]
cmp cl, bl
je 0x498b5c
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x498b47
mov eax, dword [esi + 0x24]
lea edx, [ebp - 0x44]
push edx
push eax
call edi
mov dword [esi + 0x14], eax
cmp eax, ebx
jne 0x498c00
push 0x104
lea ecx, [ebp - 0x24c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x44]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498ba0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x84]
push eax
call fcn.004412a0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x498be5
push edi
lea ecx, [ebp - 0x24c]
push ecx
push str.GetProcAddress__s__failed__code_u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00498000
mov esi, dword [ebp - 4]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.nIetnrteeRdaiFel
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x44]
cmp byte [ebp - 0x44], bl
je 0x498c2c
mov cl, byte [eax + 1]
cmp cl, bl
je 0x498c2c
mov dl, byte [eax]
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 2
cmp byte [eax], bl
jne 0x498c17
mov edx, dword [esi + 0x24]
lea ecx, [ebp - 0x44]
push ecx
push edx
call edi
mov dword [esi + 0x18], eax
cmp eax, ebx
jne 0x498cd0
push 0x104
lea eax, [ebp - 0x24c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498c70
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 0x84]
push edx
call fcn.004412a0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x498cb5
push edi
lea eax, [ebp - 0x24c]
push eax
push str.GetProcAddress__s__failed__code_u
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
call fcn.00498000
mov esi, dword [ebp - 4]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x24], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4