Function at 0x45d5b0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4b7bd1
mov eax, dword fs:[0]
push eax
mov eax, 0x16678
call fcn.004a53e0
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x16674], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc3b0]
xor eax, esp
push eax
lea eax, [esp + 0x1668c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1669c]
mov esi, ecx
xor ebp, ebp
push esi
lea ecx, [esp + 0x9b5c]
mov dword [esp + 0x30], esi
mov ebx, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.0040de10
mov dword [esp + 0x16694], ebp
push esi
lea ecx, [esp + 0x6c]
call fcn.0040de10
mov byte [esp + 0x16694], 1
push edi
push ebx
lea ecx, [esp + 0x9b60]
call fcn.00430c10
mov edx, dword [str.fixed.]
xor eax, eax
xor ecx, ecx
mov word [esp + 0x13e60], ax
mov ax, word [0x4bde98]
mov word [esp + 0x14674], cx
mov cl, byte [0x4bde9a]
push ebx
mov byte [esp + 0x9b6d], 1
mov dword [esp + 0x13a58], edx
mov word [esp + 0x13a5c], ax
mov byte [esp + 0x13a5e], cl
call fcn.00451b50
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d690
lea edi, [esp + 0x13a54]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x45d6a1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
lea edx, [esp + 0x13a58]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.00452bf0
mov eax, dword [str.rebuilt.]
mov ecx, dword [0x4bde8c]
mov dl, byte [0x4bde90]
push ebx
mov dword [esp + 0x1364c], eax
mov dword [esp + 0x13650], ecx
mov byte [esp + 0x13654], dl
call fcn.00451b50
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d6f3
lea edi, [esp + 0x13648]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x45d704
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4ba79c
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00451f80
test al, al
jne 0x45d738
push 0x4ba798
push ebx
call fcn.00451f80
test al, al
je 0x45d74a
push 0x4ba794
lea eax, [esp + 0x1364c]
push eax
call fcn.00453a30
push ebp
lea ecx, [esp + 0x1364c]
push ecx
call fcn.00452bf0
mov edx, dword [esp + 0x28]
cmp word [edx], bp
je 0x45d87a
xor eax, eax
jmp 0x45d770
movzx ecx, word [eax + 0x4bde78]
mov word [esp + eax + 0x14674], cx
add eax, 2
cmp cx, bp
jne 0x45d770
push edx
call fcn.00451bd0
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45d790
lea edi, [esp + 0x14674]
sub eax, edx
add edi, 0xfffffffe
jmp 0x45d7b0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x45d7b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
lea edx, [esp + 0x14678]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004516c0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4bde64]
mov word [esp + eax + 0x13e60], cx
add eax, 2
cmp cx, bp
jne 0x45d7e0
mov ebx, dword [esp + 0x28]
push ebx
call fcn.00451bd0
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45d803
lea edi, [esp + 0x13e60]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x45d820
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4badd0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00451fd0
test al, al
jne 0x45d85a
push 0x4badc8
push ebx
call fcn.00451fd0
test al, al
je 0x45d86c
push 0x4bae00
lea eax, [esp + 0x13e64]
push eax
call fcn.00453ad0
push ebp
lea ecx, [esp + 0x13e64]
push ecx
call fcn.004516c0
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x3924]
push ebp
push 0x7fffffff
push 0x7fffffff
lea edx, [esp + 0x22]
push edx
push eax
lea ecx, [esp + 0x14688]
push ecx
lea edx, [esp + 0x13a6c]
push edx
lea eax, [esp + 0x84]
push eax
push esi
call fcn.0042ff60
test al, al
jne 0x45d916
cmp byte [esp + 0x16], al
jne 0x45d8e3
push 9
mov ecx, 0x4d76b4
call fcn.00428f00
lea ecx, [esp + 0x14674]
push ecx
lea edx, [esp + 0x13a58]
push edx
mov ecx, 0x4d76b4
call fcn.004297c0
mov bl, byte [esp + 0x16]
mov byte [esp + 0x16694], 0
lea ecx, [esp + 0x68]
call fcn.00402270
mov dword [esp + 0x16694], 0xffffffff
lea ecx, [esp + 0x9b58]
call fcn.00402270
mov al, bl
jmp 0x45e254
lea eax, [esp + 0x14674]
push eax
push 0x267
call fcn.004612e0
push eax
lea ecx, [esp + 0x14e90]
push ecx
mov edx, 0x600
call fcn.0049c880
add esp, 0xc
lea edx, [esp + 0x14e88]
push edx
call fcn.004861b0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x9b5c]
call fcn.0045c730
cmp eax, ebp
jne 0x45d989
lea ecx, [esp + 0x68]
call fcn.00430600
cmp edx, ebp
jl 0x45e22a
jg 0x45d97b
cmp eax, ebp
jbe 0x45e22a
lea ecx, [esp + 0x68]
call fcn.00430330
jmp 0x45e22a
cmp eax, 2
jne 0x45d9cf
lea ecx, [esp + 0x68]
call fcn.00430330
cmp byte [esi + 0x3968], 0
jne 0x45d9dd
push 0x24
push 0x262
call fcn.004612e0
push eax
push 0x275
call fcn.004612e0
mov ecx, dword [0x4e9b84]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x45d9dd
jmp 0x45e22a
cmp eax, 1
jne 0x45d9dd
lea ecx, [esp + 0x68]
call fcn.004303e0
push ebp
push ebp
push ebp
lea ecx, [esp + 0x9b64]
call fcn.00430ca0
mov eax, dword [esi + 0x3924]
push ebp
push 0x7fffffff
push 0x7fffffff
lea edx, [esp + 0x22]
push edx
push eax
lea ecx, [esp + 0x13e74]
push ecx
lea edx, [esp + 0x13660]
push edx
lea eax, [esp + 0x84]
push eax
push esi
call fcn.0042ff60
test al, al
jne 0x45da5e
cmp byte [esp + 0x16], al
jne 0x45da56
push 9
mov ecx, 0x4d76b4
call fcn.00428f00
lea ecx, [esp + 0x13e60]
push ecx
lea edx, [esp + 0x1364c]
push edx
mov ecx, 0x4d76b4
call fcn.004297c0
cmp byte [esp + 0x16], 0
sete bl
jmp 0x45d8e7
lea ecx, [esp + 0x9b58]
call fcn.00430600
mov esi, eax
lea eax, [esp + 0x13e60]
push eax
push 0x267
mov edi, edx
call fcn.004612e0
push eax
lea ecx, [esp + 0x14e90]
push ecx
mov edx, 0x600
call fcn.0049c880
add esp, 0xc
lea edx, [esp + 0x14e88]
push edx
call fcn.004861b0
push ebp
lea ecx, [esp + 0x9b5c]
mov byte [esp + 0x1b], 0
call fcn.0040b950
test al, al
je 0x45db08
cmp byte [esp + 0x12a18], 0
mov ax, word [esp + 0x10328]
mov cx, word [esp + 0x1032a]
mov byte [esp + 0x17], 1
mov word [esp + 0x6838], ax
mov word [esp + 0x683a], cx
je 0x45db08
push 0x272
call fcn.004612e0
push eax
lea edx, [esp + 0x9f74]
push edx
call fcn.00493af0
add esp, 8
jmp 0x45e22a
mov ecx, dword [esp + 0x6838]
and ecx, 0xffffff9f
push ebp
xor eax, eax
mov word [esp + 0x683c], cx
push 0x72
lea ecx, [esp + 0x70]
mov dword [esp + 0x6848], ebp
mov word [esp + 0x6844], ax
call fcn.0040bee0
push ebp
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040bee0
mov edx, dword [esp + 0x12a08]
mov eax, dword [esp + 0x12a0c]
add edx, 0xd
push ebp
adc eax, ebp
push eax
push edx
lea ecx, [esp + 0x9b64]
call fcn.00430ca0
movzx eax, word [esp + 0x683a]
sub eax, 0xd
cdq
push edx
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x9b64]
call fcn.004310e0
push ebp
push ebp
push ebp
lea ecx, [esp + 0x9b64]
call fcn.00430ca0
mov ebp, 0x10000
push ebp
call fcn.004a4c8c
mov ebx, eax
add esp, 4
mov dword [esp + 0x48], ebx
test ebx, ebx
jne 0x45dbb5
mov ecx, 0x4d76b4
call fcn.00429090
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov byte [esp + 0x16694], 2
xor eax, eax
push ebp
push ebx
lea ecx, [esp + 0x9b60]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00430fb0
sub esi, 0x20
sbb edi, 0
mov dword [esp + 0x30], 0xf000
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
jmp 0x45dc00
mov eax, dword [0x501610]
inc eax
mov dword [0x501610], eax
test eax, 0xfffff
jne 0x45dc17
call fcn.0046b930
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0
push 0xf000
push edx
push eax
call fcn.004a76f0
mov esi, eax
add esi, dword [esp + 0x48]
movzx ecx, byte [esi + 2]
lea eax, [esi + 2]
mov dword [esp + 0x684c], ecx
movzx edx, byte [esi + 5]
mov dword [esp + 0x44], eax
movzx eax, byte [esi + 6]
shl eax, 8
add eax, edx
mov word [esp + 0x6852], ax
movzx edx, byte [esi + 0x1b]
movzx edi, byte [esi + 0x1a]
shl edx, 8
add edx, edi
mov word [esp + 0x686a], dx
cmp ecx, 0x74
jne 0x45e0c7
mov ecx, 0x1000
cmp ax, cx
jae 0x45e0c7
mov edx, dword [esp + 0x686a]
dec edx
mov eax, 0x3fe
cmp dx, ax
ja 0x45e0c7
movzx ecx, byte [esi + 1]
movzx edx, byte [esi]
shl ecx, 8
add ecx, edx
mov word [esp + 0x6848], cx
movzx eax, byte [esi + 4]
movzx ecx, byte [esi + 3]
shl eax, 8
add eax, ecx
mov word [esp + 0x6850], ax
movzx edi, byte [esi + 0xa]
movzx edx, byte [esi + 9]
movzx eax, byte [esi + 8]
movzx ecx, byte [esi + 7]
shl edi, 8
add edi, edx
shl edi, 8
add edi, eax
shl edi, 8
add edi, ecx
mov dword [esp + 0x6854], edi
movzx ebp, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
movzx eax, byte [esi + 0xc]
movzx ecx, byte [esi + 0xb]
shl ebp, 8
add ebp, edx
shl ebp, 8
add ebp, eax
shl ebp, 8
add ebp, ecx
mov dword [esp + 0x6858], ebp
movzx edx, byte [esi + 0xf]
mov byte [esp + 0x685c], dl
movzx eax, byte [esi + 0x13]
movzx ecx, byte [esi + 0x12]
movzx edx, byte [esi + 0x11]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x10]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esp + 0x6860], eax
movzx edx, byte [esi + 0x17]
movzx eax, byte [esi + 0x16]
movzx ecx, byte [esi + 0x15]
shl edx, 8
add edx, eax
movzx eax, byte [esi + 0x14]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
mov dword [esp + 0x6864], edx
mov cl, byte [esi + 0x18]
mov byte [esp + 0x6868], cl
movzx edx, byte [esi + 0x19]
mov byte [esp + 0x6869], dl
movzx eax, byte [esi + 0x1f]
movzx ecx, byte [esi + 0x1e]
movzx edx, byte [esi + 0x1d]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x1c]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esp + 0x686c], eax
mov eax, dword [esp + 0x6850]
and eax, 0x100
mov dword [esp + 0x40], eax
je 0x45de03
movzx eax, byte [esi + 0x23]
movzx edx, byte [esi + 0x22]
movzx ecx, byte [esi + 0x21]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x20]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
mov dword [esp + 0x6870], eax
movzx ebx, byte [esi + 0x27]
movzx ecx, byte [esi + 0x26]
movzx edx, byte [esi + 0x25]
shl ebx, 8
add ebx, ecx
movzx ecx, byte [esi + 0x24]
shl ebx, 8
add ebx, edx
shl ebx, 8
add ebx, ecx
mov dword [esp + 0x6874], ebx
jmp 0x45de15
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x6874], ebx
mov dword [esp + 0x6870], eax
push 1
push 0
push 0
push eax
call fcn.004a5a10
xor ecx, ecx
push 1
push ecx
add eax, edi
push ecx
adc edx, ecx
push ebx
mov dword [esp + 0x7530], eax
mov dword [esp + 0x7534], edx
call fcn.004a5a10
xor ecx, ecx
add eax, ebp
adc edx, ecx
mov dword [esp + 0x7528], eax
mov dword [esp + 0x752c], edx
lea eax, [ecx + 0x20]
cmp word [esp + 0x40], cx
je 0x45de62
mov eax, 0x28
movzx edx, word [esp + 0x686a]
push edx
add eax, esi
push eax
lea eax, [esp + 0x6880]
push eax
call fcn.004a5490
mov ecx, dword [esp + 0x685c]
add esp, 0xc
test ecx, 0x200
je 0x45dee4
lea ecx, [esp + 0x54]
call fcn.00426810
lea eax, [esp + 0x6878]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45dea0
sub eax, edx
movzx edx, word [esp + 0x686a]
push 0x400
inc eax
lea ecx, [esp + 0x6c7c]
push ecx
sub edx, eax
push edx
lea eax, [esp + eax + 0x6884]
push eax
lea ecx, [esp + 0x6888]
push ecx
lea ecx, [esp + 0x68]
call fcn.00426830
mov ecx, dword [esp + 0x6850]
jmp 0x45deee
xor edx, edx
mov word [esp + 0x6c78], dx
mov bx, word [esp + 0x686a]
mov edi, ecx
and edi, 0x400
je 0x45df2c
mov edx, 0x20
test ecx, 0x100
je 0x45df12
mov edx, 0x28
movzx eax, bx
add eax, edx
mov edx, dword [eax + esi]
mov dword [esp + 0x7484], edx
mov eax, dword [eax + esi + 4]
mov dword [esp + 0x7488], eax
movzx eax, word [esp + 0x6852]
sub eax, 2
test eax, eax
jle 0x45e0c7
test byte [esp + 0x6850], 8
je 0x45df6a
mov eax, 0x20
test ecx, 0x100
je 0x45df5b
mov eax, 0x28
test di, di
je 0x45df63
add eax, 8
movzx ecx, bx
lea eax, [ecx + eax - 2]
mov edx, dword [esp + 0x44]
push eax
push edx
push 0xffffffffffffffff
call fcn.00420a10
not eax
mov word [esp + 0x8f3a], ax
lea eax, [esp + 0x68]
call fcn.0045bfb0
test al, al
je 0x45e0c7
movzx eax, word [esp + 0x6852]
cdq
add eax, dword [esp + 0x18]
push 0
adc edx, dword [esp + 0x20]
lea ecx, [esp + 0x9b5c]
push edx
push eax
call fcn.00430ca0
movzx eax, word [esp + 0x686a]
mov byte [esp + eax + 0x6878], 0
call fcn.0046b930
cmp word [esp + 0x6c78], 0
jne 0x45dfe2
push 1
lea ecx, [esp + 0x687c]
push ecx
call fcn.00452bf0
movzx edx, word [esp + 0x6850]
mov ecx, dword [esp + 0x6850]
and edx, 0xffffefff
or dword [esp + 0x24], edx
mov eax, 0x20
test ecx, 0x100
je 0x45e00d
mov eax, 0x28
test ecx, 0x400
je 0x45e018
add eax, 8
mov ecx, dword [esp + 0x686a]
add ecx, eax
lea edx, [esp + 0x15a88]
push edx
lea eax, [esp + 0x687c]
push eax
mov word [esp + 0x685a], cx
call sub.USER32.dll_OemToCharA
push 0x400
lea ecx, [esp + 0x15e8c]
push ecx
lea edx, [esp + 0x6c80]
push edx
lea eax, [esp + 0x15a94]
push eax
call fcn.00451a80
lea ecx, [esp + 0x15e88]
push ecx
push 0x268
call fcn.004612e0
push eax
lea edx, [esp + 0x14e90]
push edx
mov edx, 0x600
call fcn.0049c880
add esp, 0xc
lea eax, [esp + 0x14e88]
push eax
call fcn.004861b0
inc dword [esp + 0x20]
push 0
push 0x74
lea ecx, [esp + 0x70]
call fcn.0040bee0
mov ecx, dword [esp + 0x7524]
mov edx, dword [esp + 0x7520]
push ecx
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x9b64]
call fcn.004310e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ecx, 1
adc eax, 0
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jg 0x45e144
jl 0x45e0eb
cmp ecx, dword [esp + 0x38]
jae 0x45e144
push 0
push 0xf000
push eax
push ecx
call fcn.004a76f0
or eax, edx
jne 0x45dc00
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push eax
push edi
push esi
lea ecx, [esp + 0x9b64]
call fcn.00430ca0
mov ecx, dword [esp + 0x48]
push 0x10000
push ecx
lea ecx, [esp + 0x9b60]
call fcn.00430fb0
add esi, 0xf000
adc edi, 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x45dc00
test byte [esp + 0x24], 3
je 0x45e15d
mov edx, dword [esp + 0x6838]
or edx, 1
mov word [esp + 0x6838], dx
mov esi, dword [esp + 0x20]
test esi, esi
jle 0x45e1b7
cmp byte [esp + 0x17], 0
jne 0x45e1b5
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x3968], 0
jne 0x45e1b5
push 0x24
push 0x262
call fcn.004612e0
push eax
push 0x273
call fcn.004612e0
mov ecx, dword [0x4e9b84]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x45e1b5
mov edx, dword [esp + 0x6838]
or edx, 8
mov word [esp + 0x6838], dx
test esi, esi
jne 0x45e1df
push 0x274
call fcn.004612e0
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00493af0
add esp, 8
push 0xa
mov ecx, 0x4d76b4
call fcn.00428f00
jmp 0x45e211
push 0
push 0
push 0
lea ecx, [esp + 0x74]
call fcn.00430ca0
push 0
push 0x72
lea ecx, [esp + 0x70]
call fcn.0040bee0
push 0
push 0x73
lea ecx, [esp + 0x70]
call fcn.0040bee0
lea ecx, [esp + 0x68]
call fcn.00430330
mov byte [esp + 0x16694], 1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45e22a
push eax
call fcn.004a4d4f
add esp, 4
mov byte [esp + 0x16694], 0
lea ecx, [esp + 0x68]
call fcn.00402270
mov dword [esp + 0x16694], 0xffffffff
lea ecx, [esp + 0x9b58]
call fcn.00402270
mov al, 1
mov ecx, dword [esp + 0x1668c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16674]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x16684
ret 4