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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53cdae
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.0051c380
mov ecx, dword [esi + 0xb660]
lea edi, [esi + 0xdb8]
xor eax, eax
mov dword [esp + 0x24], edi
test ecx, ecx
je case.default.0x4e73e4
test ecx, 0x10000000
je 0x4e73d9
lea eax, [edi + 0x7304]
call fcn.004fa7d0
jmp case.default.0x4e73e4
movzx ecx, cl
add ecx, 0xffffffef
cmp ecx, 3
ja case.default.0x4e73e4
jmp dword [ecx*4 + 0x4e7ee4]
lea eax, [edi + 0x3cc8]
jmp case.default.0x4e73e4
lea eax, [edi + 0x4250]
jmp case.default.0x4e73e4
lea eax, [edi + 0x47d8]
jmp case.default.0x4e73e4
lea eax, [edi + 0x4d60]
mov ecx, edi
mov dword [esi + 0xb668], eax
call fcn.004f74c0
mov dword [esi + 0xb66c], eax
mov ecx, dword [edi + 0xa8a8]
xor eax, eax
test ecx, ecx
je case.default.0x4e7448
test ecx, 0x10000000
je 0x4e743d
lea eax, [edi + 0x7304]
call fcn.004fa8a0
jmp case.default.0x4e7448
movzx ecx, cl
add ecx, 0xffffffef
cmp ecx, 3
ja case.default.0x4e7448
jmp dword [ecx*4 + 0x4e7ef4]
lea eax, [edi + 0x3c64]
jmp case.default.0x4e7448
lea eax, [edi + 0x41ec]
jmp case.default.0x4e7448
lea eax, [edi + 0x4774]
jmp case.default.0x4e7448
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 0x4e7ebb
cmp byte [esi + 0xdb4], cl
je 0x4e74a7
mov eax, dword [esi + 0x234]
cmp eax, ecx
jne 0x4e74a7
mov eax, 0x54ee24
push eax
lea eax, [esp + 0x1c]
call fcn.005080c0
push 0x55ce44
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x55ce44
lea edi, [esp + 0x1c]
call fcn.00507dd0
push 0x7531
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4e7518
push eax
call fcn.0051eadb
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 0x4e7525
mov ecx, 0x54ee24
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x2c]
test eax, eax
je 0x4e7558
test ecx, ecx
je 0x4e7558
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4e7564
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 0x4e7564
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.00471380
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 0x4e75b0
push eax
call fcn.0051eadb
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 0x4e7602
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e75e6
mov esi, dword [esp + 0x10]
push 0x3e9
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7612
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 0x4e7612
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 0x4e761f
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push 0x80ed
lea ecx, [esp + 0x90]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4e7681
push eax
call fcn.0051eadb
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 0x4e76d3
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e76b7
mov esi, dword [esp + 0x10]
push 0x3ea
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e76e3
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 0x4e76e3
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 0x4e76f0
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push 0x80ea
lea edx, [esp + 0x30]
push edx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4e7743
push eax
call fcn.0051eadb
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 0x4e7798
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e777c
mov esi, dword [esp + 0x10]
push 0x3eb
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e77a8
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 0x4e77a8
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 0x4e77b5
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push 0x8102
lea ecx, [esp + 0x84]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4e7817
push eax
call fcn.0051eadb
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 0x4e786c
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7850
mov esi, dword [esp + 0x10]
push 0x3ec
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e787c
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 0x4e787c
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 0x4e7889
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
push ebx
lea eax, [esi + 0x1ec]
call fcn.00476b90
push 0x7561
lea edx, [esp + 0x78]
push edx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4e78e8
push eax
call fcn.0051eadb
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 0x4e793d
push 0x17a3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7921
mov esi, dword [esp + 0x10]
push 0x17a3
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e794d
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 0x4e794d
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 0x4e795a
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
cmp byte [esi + 0xdb4], 0
jne 0x4e798f
push 0x18
mov eax, 0x119b
mov ecx, ebx
lea edx, [esi + 0x104]
call fcn.00444e90
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.00471380
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 0x4e79db
push eax
call fcn.0051eadb
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 0x4e7a30
push 0x17a4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7a14
mov esi, dword [esp + 0x10]
push 0x17a4
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7a40
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 0x4e7a40
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 0x4e7a4d
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
lea edx, [esi + 0x14c]
mov eax, 0xbbf
mov ecx, ebx
call fcn.0042c7b0
push 0x7563
lea edx, [esp + 0x54]
push edx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4e7ab2
push eax
call fcn.0051eadb
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 0x4e7b07
push 0x17a5
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7aeb
mov esi, dword [esp + 0x10]
push 0x17a5
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7b17
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 0x4e7b17
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 0x4e7b24
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
lea edx, [esi + 0x19c]
mov eax, 0xbc0
mov ecx, ebx
call fcn.0042c7b0
push 0x8103
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
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 0x4e7b89
push eax
call fcn.0051eadb
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 0x4e7bde
push 0x3f1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e7bc2
mov esi, dword [esp + 0x10]
push 0x3f1
push ebx
mov edi, eax
call fcn.00435080
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4e7bee
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 0x4e7bee
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 0x4e7bfb
mov ecx, 0x54ee24
mov eax, edi
call fcn.00405d30
mov ecx, dword [esp + 0x24]
call fcn.004f6d60
test eax, eax
je 0x4e7e9f
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.0047de50
push 0
push ebx
mov ebx, edi
call fcn.0047df70
mov esi, dword [esp + 0x28]
push esi
call fcn.0047e090
push esi
push edi
call fcn.0047e210
push 0
push esi
push edi
call fcn.0047e530
push esi
push edi
call fcn.0047e7a0
mov ecx, dword [esp + 0x24]
call fcn.004f6ee0
test eax, eax
je 0x4e7e9f
mov dword [edi + 0x414], eax
mov dword [edi + 0x7e8], eax
mov dword [edi + 0xb24], eax
mov eax, esi
call fcn.0047ea10
mov eax, esi
call fcn.0047eaf0
call fcn.0047fd80
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004e8e30
lea eax, [ebx + 0xd94]
call fcn.004bdae0
test al, al
je 0x4e7e59
push ebx
call fcn.004e9040
mov esi, dword [ebx + 0xb66c]
test esi, esi
je 0x4e7e89
add esi, 0x20a
cmp word [esi], 0
je 0x4e7e59
lea eax, [esp + 0x31c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
jmp 0x4e7cf0
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4e7d0e
movzx ecx, word [eax + esi]
test cx, cx
je 0x4e7d0e
mov word [eax], cx
add eax, 2
dec edx
jne 0x4e7cf0
jmp 0x4e7d12
test edx, edx
jne 0x4e7d15
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 0x4e7d44
push 0x54ede0
lea esi, [esp + 0x320]
call fcn.0042a150
mov ecx, dword [ebx + 0xb66c]
push ecx
lea esi, [esp + 0x320]
call fcn.0042a150
push str..xml
call fcn.0042a150
lea edx, [esp + 0xcc]
push edx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4e7e7c
cmp dword [ebx + 0xb668], 0
je 0x4e7e59
cmp dword [ebx + 0xda4], 0
mov eax, dword [ebx + 0xb66c]
je 0x4e7db1
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 0x4e7e59
mov ecx, 0x34
lea eax, [esp + 0x98]
lea ecx, [ecx]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4e7dc0
cmp dword [ebx + 0xda4], ecx
je 0x4e7e59
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 0x4e7e59
mov eax, dword [ebx + 0xb668]
push eax
lea ecx, [esp + 0x9c]
push ecx
lea eax, [ebx + 0xd94]
call fcn.00487360
mov edx, dword [ebx + 0xb668]
push edx
lea eax, [esp + 0x9c]
push eax
lea eax, [ebx + 0xd94]
call fcn.004874d0
cmp dword [ebx + 0xda4], 0
je 0x4e7e59
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 0x4e7e59
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 0x4e7e75
push eax
call fcn.0051eadb
add esp, 4
mov eax, 1
jmp 0x4e7ebd
test eax, eax
je 0x4e7e59
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4e7e59
lea ecx, [esp + 0x18]
mov dword [esp + 0x538], 0xffffffff
call fcn.00445e70
jmp 0x4e7ebb
mov dword [esp + 0x538], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e7ebb
push eax
call fcn.0051eadb
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.0051eacc
mov esp, ebp
pop ebp
ret 0xc