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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x530c0e
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x559024]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push esi
push edi
mov eax, dword [0x559024]
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 + 0xbfc]
push 1
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], ebx
call fcn.00511140
mov ecx, dword [esi + 0xb358]
lea edi, [esi + 0xc08]
xor eax, eax
mov dword [esp + 0x24], edi
test ecx, ecx
je case.default.0x4dc4e4
test ecx, 0x10000000
je 0x4dc4d9
lea eax, [edi + 0x7224]
call fcn.004ee4f0
jmp case.default.0x4dc4e4
movzx ecx, cl
add ecx, 0xffffffef
cmp ecx, 3
ja case.default.0x4dc4e4
jmp dword [ecx*4 + 0x4dcfe8]
lea eax, [edi + 0x3be8]
jmp case.default.0x4dc4e4
lea eax, [edi + 0x4170]
jmp case.default.0x4dc4e4
lea eax, [edi + 0x46f8]
jmp case.default.0x4dc4e4
lea eax, [edi + 0x4c80]
mov ecx, edi
mov dword [esi + 0xb360], eax
call fcn.004eb5a0
mov dword [esi + 0xb364], eax
mov ecx, dword [edi + 0xa750]
xor eax, eax
test ecx, ecx
je case.default.0x4dc548
test ecx, 0x10000000
je 0x4dc53d
lea eax, [edi + 0x7224]
call fcn.004ee5c0
jmp case.default.0x4dc548
movzx ecx, cl
add ecx, 0xffffffef
cmp ecx, 3
ja case.default.0x4dc548
jmp dword [ecx*4 + 0x4dcff8]
lea eax, [edi + 0x3b84]
jmp case.default.0x4dc548
lea eax, [edi + 0x410c]
jmp case.default.0x4dc548
lea eax, [edi + 0x4694]
jmp case.default.0x4dc548
lea eax, [edi + 0x4c1c]
xor ecx, ecx
mov dword [esi + 0xb35c], 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 0x4dcfbf
cmp byte [esi + 0xc04], cl
je 0x4dc5a7
mov eax, dword [esi + 0x234]
cmp eax, ecx
jne 0x4dc5a7
mov eax, 0x538640
push eax
lea eax, [esp + 0x1c]
call fcn.004fcf00
push 0x542c3c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x542c3c
lea edi, [esp + 0x1c]
call fcn.004fcc10
push 0x7531
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
mov byte [esp + 0x538], 1
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edx
call fcn.004fcc10
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4dc618
push eax
call fcn.005134a7
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 0x4dc625
mov ecx, 0x538640
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x2c]
test eax, eax
je 0x4dc658
test ecx, ecx
je 0x4dc658
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4dc664
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 0x4dc664
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [eax + edi], 0x57
push 0x8100
lea eax, [esp + 0x48]
push eax
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 2
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x4dc6b0
push eax
call fcn.005134a7
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 0x4dc702
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dc6e6
mov esi, dword [esp + 0x10]
push 0x3e9
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dc712
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 0x4dc712
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 0x4dc71f
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
push 0x80ed
lea ecx, [esp + 0x90]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 3
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4dc781
push eax
call fcn.005134a7
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 0x4dc7d3
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dc7b7
mov esi, dword [esp + 0x10]
push 0x3ea
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dc7e3
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 0x4dc7e3
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 0x4dc7f0
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
push 0x80ea
lea edx, [esp + 0x30]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 4
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4dc843
push eax
call fcn.005134a7
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 0x4dc898
push 0x3eb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dc87c
mov esi, dword [esp + 0x10]
push 0x3eb
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dc8a8
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 0x4dc8a8
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 0x4dc8b5
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
push 0x8102
lea ecx, [esp + 0x84]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 5
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4dc917
push eax
call fcn.005134a7
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 0x4dc96c
push 0x3ec
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dc950
mov esi, dword [esp + 0x10]
push 0x3ec
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dc97c
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 0x4dc97c
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 0x4dc989
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
push ebx
lea eax, [esi + 0x1ec]
call fcn.0046db60
push 0x7561
lea edx, [esp + 0x78]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 6
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4dc9e8
push eax
call fcn.005134a7
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 0x4dca3d
push 0x17a3
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dca21
mov esi, dword [esp + 0x10]
push 0x17a3
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dca4d
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 0x4dca4d
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 0x4dca5a
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
cmp byte [esi + 0xc04], 0
jne 0x4dca8f
push 0x18
mov eax, 0x119b
mov ecx, ebx
lea edx, [esi + 0x104]
call fcn.0043cb80
mov ecx, dword [esi + 0xb35c]
lea eax, [esi + 0x104]
call fcn.00402f90
push 0x7562
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 7
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, edi
je 0x4dcadb
push eax
call fcn.005134a7
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 0x4dcb30
push 0x17a4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dcb14
mov esi, dword [esp + 0x10]
push 0x17a4
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dcb40
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 0x4dcb40
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 0x4dcb4d
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
lea edx, [esi + 0x14c]
mov eax, 0xbbf
mov ecx, ebx
call fcn.004255f0
push 0x7563
lea edx, [esp + 0x54]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 8
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4dcbb2
push eax
call fcn.005134a7
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 0x4dcc07
push 0x17a5
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dcbeb
mov esi, dword [esp + 0x10]
push 0x17a5
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dcc17
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 0x4dcc17
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 0x4dcc24
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
lea edx, [esi + 0x19c]
mov eax, 0xbc0
mov ecx, ebx
call fcn.004255f0
push 0x8103
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 9
call fcn.004fce50
mov byte [esp + 0x538], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4dcc89
push eax
call fcn.005134a7
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 0x4dccde
push 0x3f1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4dccc2
mov esi, dword [esp + 0x10]
push 0x3f1
push ebx
mov edi, eax
call fcn.0042dc20
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x4dccee
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 0x4dccee
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 0x4dccfb
mov ecx, 0x538640
mov eax, edi
call fcn.00402f90
mov ecx, dword [esp + 0x24]
call fcn.004eae50
test eax, eax
je 0x4dcfa3
lea edi, [esi + 0x240]
push 0x258
push ebx
mov ecx, edi
mov dword [edi + 0x410], eax
mov dword [edi + 0x618], eax
mov dword [edi + 0x7b8], eax
mov dword [edi + 0x97c], eax
call fcn.004755a0
push 0
push edi
call fcn.004756c0
mov esi, dword [esp + 0x28]
push esi
mov ebx, edi
call fcn.004757e0
push esi
push edi
call fcn.00475960
push 0
push esi
push edi
call fcn.00475c80
push esi
push edi
call fcn.00475ef0
mov ecx, dword [esp + 0x24]
call fcn.004eafd0
test eax, eax
je 0x4dcfa3
mov dword [edi + 0x414], eax
mov dword [edi + 0x624], eax
mov dword [edi + 0x7c4], eax
mov eax, esi
call fcn.00476160
mov eax, esi
call fcn.00476230
call fcn.00477480
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004ddf20
lea edi, [ebx + 0xbe4]
mov eax, edi
call fcn.004b3e20
test al, al
je 0x4dcf5d
push ebx
call fcn.004de130
mov eax, dword [ebx + 0xb364]
test eax, eax
je 0x4dcf8d
cmp word [eax + 0x20a], 0
lea esi, [eax + 0x20a]
je 0x4dcf5d
lea eax, [esp + 0x31c]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
jmp 0x4dce00
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4dce1e
movzx ecx, word [eax + esi]
test cx, cx
je 0x4dce1e
mov word [eax], cx
add eax, 2
dec edx
jne 0x4dce00
jmp 0x4dce22
test edx, edx
jne 0x4dce25
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 0x4dce5d
push 0x5388e8
mov esi, 0x104
lea ebx, [esp + 0x320]
call fcn.00423060
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xb364]
push ecx
mov esi, 0x104
lea ebx, [esp + 0x320]
call fcn.00423060
push str..xml
call fcn.00423060
lea edx, [esp + 0xcc]
push edx
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4dcf80
mov esi, dword [esp + 0x14]
cmp dword [esi + 0xb360], 0
je 0x4dcf5d
cmp dword [edi + 0x10], 0
mov eax, dword [esi + 0xb364]
je 0x4dcecd
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
push 0
push 0
push eax
mov eax, dword [edx + 8]
call eax
test eax, eax
jne 0x4dcf5d
mov ecx, 0x34
lea eax, [esp + 0x98]
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4dcee0
cmp dword [edi + 0x10], ecx
je 0x4dcf5d
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x98]
push eax
call edx
test al, al
je 0x4dcf5d
mov eax, dword [esi + 0xb360]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov eax, edi
call fcn.0047e360
mov edx, dword [esi + 0xb360]
push edx
lea eax, [esp + 0x9c]
push eax
mov eax, edi
call fcn.0047e4d0
cmp dword [edi + 0x10], 0
je 0x4dcf5d
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x98]
push eax
call edx
test al, al
je 0x4dcf5d
mov edx, dword [esi + 0xb364]
add edx, 0x20a
mov ecx, edi
call fcn.004b3f10
mov dword [esp + 0x538], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dcf79
push eax
call fcn.005134a7
add esp, 4
mov eax, 1
jmp 0x4dcfc1
test eax, eax
je 0x4dcf5d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4dcf5d
lea ecx, [esp + 0x18]
mov dword [esp + 0x538], 0xffffffff
call fcn.004fc190
jmp 0x4dcfbf
mov dword [esp + 0x538], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dcfbf
push eax
call fcn.005134a7
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.00513498
mov esp, ebp
pop ebp
ret 0xc