Function at 0x4e7320
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53cfde
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x575494]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, esp
push eax
lea eax, [esp + 0x530]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
lea ecx, [esi + 0x2c]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x40], ebx
mov dword [ecx + 4], ebx
mov byte [ecx + 0xc], 0
mov eax, dword [esi + 0xdac]
push 1
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], ebx
call fcn.0051c450
mov ecx, dword [esi + 0xb660]
lea edi, [esi + 0xdb8]
xor eax, eax
mov dword [esp + 0x24], edi
test ecx, ecx
je case.default.0x4e73c4
test ecx, 0x10000000
je 0x4e73b9
lea eax, [edi + 0x7304]
call fcn.004fa730
jmp case.default.0x4e73c4
movzx ecx, cl
add ecx, 0xffffffef
cmp ecx, 3
ja case.default.0x4e73c4
jmp dword [ecx*4 + 0x4e7ec4]
lea eax, [edi + 0x3cc8]
jmp case.default.0x4e73c4
lea eax, [edi + 0x4250]
jmp case.default.0x4e73c4
lea eax, [edi + 0x47d8]
jmp case.default.0x4e73c4
lea eax, [edi + 0x4d60]
mov ecx, edi
mov dword [esi + 0xb668], eax
call fcn.004f7450
mov dword [esi + 0xb66c], eax
mov ecx, dword [edi + 0xa8a8]
xor eax, eax
test ecx, ecx
je case.default.0x4e7428
test ecx, 0x10000000
je 0x4e741d
lea eax, [edi + 0x7304]
call fcn.004fa800
jmp case.default.0x4e7428
movzx ecx, cl
add ecx, 0xffffffef
cmp ecx, 3
ja case.default.0x4e7428
jmp dword [ecx*4 + 0x4e7ed4]
lea eax, [edi + 0x3c64]
jmp case.default.0x4e7428
lea eax, [edi + 0x41ec]
jmp case.default.0x4e7428
lea eax, [edi + 0x4774]
jmp case.default.0x4e7428
lea eax, [edi + 0x4cfc]
xor ecx, ecx
mov dword [esi + 0xb664], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x538], ecx
cmp eax, ecx
je 0x4e7e9b
cmp byte [esi + 0xdb4], cl
je 0x4e7487
mov eax, dword [esi + 0x234]
cmp eax, ecx
jne 0x4e7487
mov eax, 0x54ee24
push eax
lea eax, [esp + 0x1c]
call fcn.005080c0
push 0x55ce4c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x55ce4c
lea edi, [esp + 0x1c]
call fcn.00507dd0
push 0x7531
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov byte [esp + 0x538], 1
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edx
call fcn.00507dd0
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4e74f8
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e7505
mov ecx, 0x54ee24
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x2c]
test eax, eax
je 0x4e7538
test ecx, ecx
je 0x4e7538
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e7544
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x4e7544
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [eax + edi], 0x57
push 0x8100
lea eax, [esp + 0x48]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 2
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x4e7590
push eax
call fcn.0051ebab
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
lea edi, [esi + 0x50]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e75e2
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e75c6
mov esi, dword [esp + 0x10]
push 0x3e9
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e75f2
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 4]
lea eax, [edx + edi + 0x10]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x4e75f2
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e75ff
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push 0x80ed
lea ecx, [esp + 0x90]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 3
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4e7661
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
lea edi, [esi + 0x74]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e76b3
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7697
mov esi, dword [esp + 0x10]
push 0x3ea
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e76c3
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 0x10]
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x4e76c3
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e76d0
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push 0x80ea
lea edx, [esp + 0x30]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 4
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e7723
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea edi, [esi + 0x98]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e7778
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e775c
mov esi, dword [esp + 0x10]
push 0x3eb
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7788
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 0x10]
mov dword [esp + 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x4e7788
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e7795
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push 0x8102
lea ecx, [esp + 0x84]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 5
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4e77f7
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea edi, [esi + 0xbc]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e784c
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7830
mov esi, dword [esp + 0x10]
push 0x3ec
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e785c
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 0x10]
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x4e785c
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e7869
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push ebx
lea eax, [esi + 0x1ec]
call fcn.00476cd0
push 0x7561
lea edx, [esp + 0x78]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 6
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4e78c8
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea edi, [esi + 0xe0]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e791d
push 0x17a3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7901
mov esi, dword [esp + 0x10]
push 0x17a3
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e792d
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 0x10]
mov dword [esp + 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x4e792d
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e793a
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
cmp byte [esi + 0xdb4], 0
jne 0x4e796f
push 0x18
mov eax, 0x119b
mov ecx, ebx
lea edx, [esi + 0x104]
call fcn.00445030
mov ecx, dword [esi + 0xb664]
lea eax, [esi + 0x104]
call fcn.00405d30
push 0x7562
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 7
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, edi
je 0x4e79bb
push eax
call fcn.0051ebab
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
lea edi, [esi + 0x128]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e7a10
push 0x17a4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e79f4
mov esi, dword [esp + 0x10]
push 0x17a4
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7a20
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 0x10]
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x4e7a20
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e7a2d
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
lea edx, [esi + 0x14c]
mov eax, 0xbbf
mov ecx, ebx
call fcn.0042c8c0
push 0x7563
lea edx, [esp + 0x54]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 8
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4e7a92
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea edi, [esi + 0x178]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e7ae7
push 0x17a5
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7acb
mov esi, dword [esp + 0x10]
push 0x17a5
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7af7
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea edx, [ecx + edi + 0x10]
mov dword [esp + 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x4e7af7
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e7b04
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
lea edx, [esi + 0x19c]
mov eax, 0xbc0
mov ecx, ebx
call fcn.0042c8c0
push 0x8103
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 9
call fcn.00508010
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e7b69
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea edi, [esi + 0x1c8]
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x4e7bbe
push 0x3f1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7ba2
mov esi, dword [esp + 0x10]
push 0x3f1
push ebx
mov edi, eax
call fcn.004351f0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7bce
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
lea ecx, [eax + edi + 0x10]
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
jmp 0x4e7bce
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + edi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4e7bdb
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
mov ecx, dword [esp + 0x24]
call fcn.004f6cf0
test eax, eax
je 0x4e7e7f
lea edi, [esi + 0x240]
push 0x258
push ebx
mov ecx, edi
mov dword [edi + 0x410], eax
mov dword [edi + 0x7dc], eax
mov dword [edi + 0xb18], eax
call fcn.0047dfa0
push 0
push ebx
mov ebx, edi
call fcn.0047e0c0
mov esi, dword [esp + 0x28]
push esi
call fcn.0047e1e0
push esi
push edi
call fcn.0047e360
push 0
push esi
push edi
call fcn.0047e680
push esi
push edi
call fcn.0047e8f0
mov ecx, dword [esp + 0x24]
call fcn.004f6e70
test eax, eax
je 0x4e7e7f
mov dword [edi + 0x414], eax
mov dword [edi + 0x7e8], eax
mov dword [edi + 0xb24], eax
mov eax, esi
call fcn.0047eb60
mov eax, esi
call fcn.0047ec40
call fcn.0047fed0
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004e8e10
lea eax, [ebx + 0xd94]
call fcn.004bdae0
test al, al
je 0x4e7e39
push ebx
call fcn.004e9020
mov esi, dword [ebx + 0xb66c]
test esi, esi
je 0x4e7e69
add esi, 0x20a
cmp word [esi], 0
je 0x4e7e39
lea eax, [esp + 0x31c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
jmp 0x4e7cd0
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4e7cee
movzx ecx, word [eax + esi]
test cx, cx
je 0x4e7cee
mov word [eax], cx
add eax, 2
dec edx
jne 0x4e7cd0
jmp 0x4e7cf2
test edx, edx
jne 0x4e7cf5
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x31a], 0x5c
je 0x4e7d24
push 0x54ede0
lea esi, [esp + 0x320]
call fcn.0042a260
mov ecx, dword [ebx + 0xb66c]
push ecx
lea esi, [esp + 0x320]
call fcn.0042a260
push str..xml
call fcn.0042a260
lea edx, [esp + 0xcc]
push edx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4e7e5c
cmp dword [ebx + 0xb668], 0
je 0x4e7e39
cmp dword [ebx + 0xda4], 0
mov eax, dword [ebx + 0xb66c]
je 0x4e7d91
mov ecx, dword [ebx + 0xda4]
mov edx, dword [ecx]
push 0
push 0
push eax
mov eax, dword [edx + 8]
call eax
test eax, eax
jne 0x4e7e39
mov ecx, 0x34
lea eax, [esp + 0x98]
lea ecx, [ecx]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4e7da0
cmp dword [ebx + 0xda4], ecx
je 0x4e7e39
mov ecx, dword [ebx + 0xda4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x98]
push eax
call edx
test al, al
je 0x4e7e39
mov eax, dword [ebx + 0xb668]
push eax
lea ecx, [esp + 0x9c]
push ecx
lea eax, [ebx + 0xd94]
call fcn.00487410
mov edx, dword [ebx + 0xb668]
push edx
lea eax, [esp + 0x9c]
push eax
lea eax, [ebx + 0xd94]
call fcn.00487580
cmp dword [ebx + 0xda4], 0
je 0x4e7e39
mov ecx, dword [ebx + 0xda4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x98]
push eax
call edx
test al, al
je 0x4e7e39
mov edx, dword [ebx + 0xb66c]
add edx, 0x20a
lea ecx, [ebx + 0xd94]
call fcn.004bdbd0
mov dword [esp + 0x538], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e7e55
push eax
call fcn.0051ebab
add esp, 4
mov eax, 1
jmp 0x4e7e9d
test eax, eax
je 0x4e7e39
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4e7e39
lea ecx, [esp + 0x18]
mov dword [esp + 0x538], 0xffffffff
call fcn.00507320
jmp 0x4e7e9b
mov dword [esp + 0x538], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e7e9b
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 0xc