Function at 0x4522c0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4cb9dd
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x134]
mov eax, dword [ebx*4 + 0x5b6070]
mov esi, ecx
mov ecx, dword [eax + 4]
push ecx
push 0
mov ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
call fcn.00452240
mov ebp, dword [sym.imp.MSVCR100.dll_sprintf]
test eax, eax
jne 0x452759
mov edx, dword [ebx*4 + 0x5b6070]
mov al, byte [edx + 8]
cmp al, 1
je 0x452344
cmp al, 7
jne 0x452759
push 0x10
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x12c], ecx
cmp eax, ecx
je 0x45236c
mov ecx, eax
call fcn.00451980
mov dword [esp + 0x14], eax
jmp 0x452370
mov dword [esp + 0x14], ecx
mov eax, dword [ebx*4 + 0x5b6070]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x134], 0xffffffff
call fcn.00429b30
mov eax, dword [ebx*4 + 0x5b6070]
movzx ecx, byte [eax + 0x17]
movzx edx, byte [eax + 0x16]
push ecx
movzx ecx, byte [eax + 0x15]
push edx
movzx edx, byte [eax + 0x14]
push ecx
movzx ecx, byte [eax + 0x13]
push edx
movzx edx, byte [eax + 0x12]
push ecx
push edx
lea eax, [esp + 0x44]
push str.__02X_02X_02X_02X_02X_02X
push eax
call ebp
lea eax, [esp + 0x4c]
add esp, 0x28
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4523d0
lea edi, [esp + 0x58]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4523e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 4
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov edx, dword [ebx*4 + 0x5b6070]
mov ecx, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
push 0xffff0002
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
push 0x4f1456
add ecx, 0x5d8
push 1
mov dword [eax + 0xc], ebx
call sub.mfc100.dll_Ordinal_7216
mov dword [esp + 0x18], eax
mov eax, dword [ebx*4 + 0x5b6070]
cmp byte [eax + 8], 1
jne 0x452462
lea edx, [esp + 0x58]
push 0x4f1457
push edx
call ebp
jmp 0x452470
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.004483f0
mov eax, dword [ebx*4 + 0x5b6070]
add esp, 8
cmp byte [eax + 8], 1
jne 0x4524cd
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx*4 + 0x5b6070]
movzx ecx, byte [eax + 4]
movzx edx, byte [eax + 5]
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x4f1594
push eax
call ebp
lea eax, [esp + 0x34]
add esp, 0x10
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4524b0
lea edi, [esp + 0x58]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4524c0
jmp 0x45262f
cmp byte [esp + 0x58], 0
jne 0x4524e0
push 0x4f15b0
lea ecx, [esp + 0x28]
push ecx
jmp 0x4524ea
push 0x4f15c8
lea edx, [esp + 0x28]
push edx
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4524f5
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452503
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x24]
and ecx, 3
push 0x4f15d0
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452530
lea edi, [esp + 0x58]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452540
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx*4 + 0x5b6070]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00429b30
lea eax, [esp + 0x2c]
add esp, 8
mov ecx, eax
jmp 0x452580
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452580
lea edi, [esp + 0x58]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452590
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x24]
and ecx, 3
push 0x4f15d8
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov ecx, eax
jmp 0x4525c0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4525c0
lea edi, [esp + 0x58]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4525d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx*4 + 0x5b6070]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [eax + 0x18]
test cl, cl
jne 0x4525f9
cmp byte [eax + 0x19], cl
je 0x45263d
movzx edx, byte [eax + 0x19]
movzx eax, cl
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x4f15dc
push ecx
call ebp
lea eax, [esp + 0x34]
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452617
lea edi, [esp + 0x58]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452627
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx*4 + 0x5b6070]
mov eax, dword [edx + 0x224]
push eax
lea ecx, [esp + 0x28]
push 0x4f15e8
push ecx
call ebp
lea eax, [esp + 0x30]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452660
lea edi, [esp + 0x58]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452670
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
push 0
mov ecx, eax
mov eax, dword [esp + 0x28]
push 0
and ecx, 3
lea edx, [esp + 0x6c]
push edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
push 1
push eax
lea ecx, [esi + 0x5d8]
call sub.mfc100.dll_Ordinal_12432
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 4
push edx
lea ecx, [esi + 0x5d8]
call sub.mfc100.dll_Ordinal_12432
mov eax, dword [ebx*4 + 0x5b6070]
cmp byte [eax + 8], 1
push 0
push 0xf000
jne 0x4526f4
mov eax, dword [esp + 0x20]
push 0xc000
push 0
push 0
push 0
push 8
push eax
jmp 0x452723
cmp byte [eax + 0x208], 0
je 0x452711
mov ecx, dword [esp + 0x20]
push 0x9000
push 0
push 0
push 0
push 8
push ecx
jmp 0x452723
mov edx, dword [esp + 0x20]
push 0x8000
push 0
push 0
push 0
push 8
push edx
mov ecx, esi
add ecx, 0x5d8
call sub.mfc100.dll_Ordinal_12432
push 0
push 0
mov eax, esi
mov ecx, dword [eax + 0x5f8]
push 0x1113
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx*4 + 0x5b6070]
cmp byte [edx + 8], 1
jne 0x452ce5
mov eax, dword [ebx*4 + 0x5b6070]
cmp byte [eax + 8], 8
jne 0x4528e8
push 0x10
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x12c], 1
test eax, eax
je 0x452792
mov ecx, eax
call fcn.00451980
mov ebp, eax
jmp 0x452794
xor ebp, ebp
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push 0xffff0002
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4f145e
add ebx, 0x5d8
push 1
mov ecx, ebx
mov dword [esp + 0x150], 0xffffffff
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], eax
call sub.mfc100.dll_Ordinal_7216
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov esi, eax
mov eax, dword [ecx*4 + 0x5b6070]
lea edx, [eax + 0x1bb]
push edx
lea ecx, [eax + 0x1b6]
push ecx
add eax, 0x1c0
push eax
lea edx, [esp + 0x64]
push 0x4f15f4
push edx
mov dword [esp + 0x2c], esi
call edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax*4 + 0x5b6070]
add eax, 0x2d0
add esp, 0x14
cmp byte [eax], 0
je 0x45286a
push eax
lea ecx, [esp + 0x28]
push 0x4f1600
push ecx
call edi
lea eax, [esp + 0x30]
add esp, 0xc
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452840
lea edi, [esp + 0x58]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452850
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x6c]
push edx
push 1
push esi
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12432
push ebp
push 0
push 0
push 0
push 0
push 0
push 4
push esi
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12432
mov eax, dword [esp + 0x20]
mov ecx, dword [eax*4 + 0x5b6070]
cmp byte [ecx + 0x208], 0
push 0
push 0xf000
mov ecx, ebx
je 0x4528bc
push 0x1000
jmp 0x4528c1
push 0x2000
push 0
push 0
push 0
push 8
push esi
call sub.mfc100.dll_Ordinal_12432
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x5f8]
push 0
push 0
push 0x1113
push eax
jmp 0x452cdf
mov ecx, dword [eax + 4]
and ecx, 0xffffff01
or ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00452240
mov dword [esp + 0x18], eax
test eax, eax
je 0x452ce5
lea ecx, [esi + 0x5d8]
push eax
mov dword [esp + 0x24], ecx
call sub.mfc100.dll_Ordinal_5144
push 0x10
mov esi, eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x12c], 2
test eax, eax
je 0x452948
mov ecx, eax
call fcn.00451980
mov edi, eax
mov dword [esp + 0x14], eax
jmp 0x45294e
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [ebx*4 + 0x5b6070]
movzx edx, byte [eax + 0x17]
movzx ecx, byte [eax + 0x16]
push edx
movzx edx, byte [eax + 0x15]
push ecx
movzx ecx, byte [eax + 0x14]
push edx
movzx edx, byte [eax + 0x13]
movzx eax, byte [eax + 0x12]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push 0x4f160c
push ecx
mov dword [esp + 0x14c], 0xffffffff
call ebp
add esp, 0x20
lea edx, [esp + 0x58]
push edx
lea ecx, [edi + 4]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push 0xffff0002
push eax
push 0
push 0
push 0
push 0
push 0
push 0x4f145f
push 1
mov dword [edi + 0xc], ebx
call sub.mfc100.dll_Ordinal_7216
mov dword [esp + 0x20], eax
mov eax, dword [ebx*4 + 0x5b6070]
movzx ecx, byte [eax + 4]
movzx edx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 6]
push edx
movzx edx, byte [eax + 7]
push ecx
push edx
lea eax, [esp + 0x68]
push str._03d._03d._03d._03d
push eax
call ebp
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx*4 + 0x5b6070]
mov cl, byte [eax + 0x18]
add esp, 0x18
test cl, cl
jne 0x452a06
cmp byte [eax + 0x19], cl
je 0x452a6d
mov edx, dword [esi + 0xc]
mov edx, dword [edx*4 + 0x5b6070]
cmp cl, byte [edx + 0x18]
jne 0x452a1d
mov al, byte [eax + 0x19]
cmp al, byte [edx + 0x19]
je 0x452a6d
mov eax, dword [ebx*4 + 0x5b6070]
movzx ecx, byte [eax + 0x19]
movzx edx, byte [eax + 0x18]
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x4f163c
push eax
call ebp
lea eax, [esp + 0x34]
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x452a43
lea edi, [esp + 0x58]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452a53
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx*4 + 0x5b6070]
movsx eax, byte [edx + 0x231]
add eax, 0xfffffffd
cmp eax, 6
ja case.default.0x452a8a
jmp dword [eax*4 + 0x452d10]
lea eax, [esp + 0x24]
push 0x4f1648
push eax
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452aa6
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452ab4
jmp 0x452bd8
lea ecx, [esp + 0x24]
push 0x4f1660
push ecx
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452ad6
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452ae4
jmp 0x452bd8
lea edx, [esp + 0x24]
push 0x4f1674
push edx
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452b06
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452b14
jmp 0x452bd8
lea eax, [esp + 0x24]
push 0x4f1688
push eax
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452b36
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452b44
jmp 0x452bd8
lea ecx, [esp + 0x24]
push 0x4f1694
push ecx
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452b66
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452b74
jmp 0x452bd8
lea edx, [esp + 0x24]
push 0x4f16ac
push edx
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452b93
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452ba1
jmp 0x452bd8
lea eax, [esp + 0x24]
push 0x4f16bc
push eax
call ebp
lea eax, [esp + 0x2c]
add esp, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452bc0
lea edi, [esp + 0x58]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x452bd0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
push 1
push edi
lea ecx, [ebp + 0x5d8]
call sub.mfc100.dll_Ordinal_12432
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 4
push edi
lea ecx, [ebp + 0x5d8]
call sub.mfc100.dll_Ordinal_12432
mov eax, dword [ebx*4 + 0x5b6070]
cmp byte [eax + 0x208], 0
je 0x452cac
cmp dword [eax + 0x20c], 0
je 0x452c51
push 0
push 0xf000
push 0x3000
jmp 0x452cb8
movsx eax, byte [eax + 0x231]
cmp eax, 9
ja case.default.0x452c5d
jmp dword [eax*4 + 0x452d2c]
push 0xf000
push 0x1000
push edi
lea ecx, [ebp + 0x5d8]
call fcn.00451920
jmp case.default.0x452c5d
push 0xf000
push 0x5000
push edi
lea ecx, [ebp + 0x5d8]
call fcn.00451920
jmp case.default.0x452c5d
push 0xf000
push 0x4000
push edi
lea ecx, [ebp + 0x5d8]
call fcn.00451920
jmp case.default.0x452c5d
push 0
push 0xf000
push 0x2000
push 0
push 0
push 0
push 8
push edi
lea ecx, [ebp + 0x5d8]
call sub.mfc100.dll_Ordinal_12432
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x5f8]
push eax
push 0
push 0x1113
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004c6212
add esp, 0x11c
ret 4