Function at 0x40c030
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x88e143
call fcn.00879bb8
sub esp, 0xd4
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
je 0x40c05b
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
jmp 0x40c05e
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0xc]
cmp esi, 9
jge 0x40c06f
lea eax, [esi*4 + 0x9783a8]
jmp 0x40c086
lea eax, [esi - 9]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0061d126
mov dword [ebp - 0x14], 1
push eax
lea ecx, [ebp - 0x38]
call fcn.0040810c
test byte [ebp - 0x14], 1
mov dword [ebp - 4], ebx
je 0x40c0a3
lea ecx, [ebp - 0xa0]
call fcn.00402fa6
mov eax, dword [ebp - 0x2c]
shl eax, 8
or eax, esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
lea ecx, [edi + 0x1d4]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], ecx
call fcn.00415dee
test eax, eax
je 0x40c0e0
mov esi, dword [ebp - 0x1c]
call dword [fcn.0097b704]
mov dword [esi + 0x2c], eax
jmp 0x40c6d1
push 0x38
mov ecx, 0x97bac0
call fcn.004029b9
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x40c100
mov ecx, eax
call fcn.0040cf74
jmp 0x40c102
xor eax, eax
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00411ac4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
mov dword [ecx + 0x10], esi
push eax
mov ecx, edi
call fcn.0040d076
cmp dword [ebp - 0x58], ebx
mov byte [ebp - 4], 3
jne 0x40c144
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00412b35
jmp 0x40cf37
push ebx
push ebx
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.004059fd
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00411a57
mov ecx, eax
add ecx, 0xc
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004032b4
cmp eax, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp + 8], ebx
je 0x40c1ab
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 8]
call fcn.00404b30
cmp eax, ebx
jge 0x40c1ab
cmp eax, 0x80004002
je 0x40c1ab
push eax
call fcn.00878dfb
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 7
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c1c6
push eax
call fcn.00878dfb
cmp dword [ebp + 8], ebx
jne 0x40c1d8
lea ecx, [ebp + 8]
call fcn.004027eb
jmp 0x40c133
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.oleaut32.dll_VariantInit]
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 8
jne 0x40c1f5
push 0x80004003
call fcn.00878dfb
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call fcn.00404960
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.004035f5
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004027b3
mov dword [ebp - 0x98], ebx
mov edi, 0x97bc68
cmp dword [ebp - 0x14], ebx
jne 0x40c234
push 0x80004003
call fcn.00878dfb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x98]
push edx
lea edx, [ebp - 0x78]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x40c5b2
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00405a23
add esp, 4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.0040810c
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0xe
call fcn.00412348
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.004172b7
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
call fcn.004027b3
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x40c57e
lea eax, [ebp - 0x30]
push eax
call fcn.00404e7f
push ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push 0x3ba
push eax
mov ecx, edi
mov byte [ebp - 4], 0x12
call fcn.00679e4e
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.004032b4
cmp eax, ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x18], ebx
je 0x40c33e
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041a4e5
cmp eax, ebx
jge 0x40c33e
cmp eax, 0x80004002
je 0x40c33e
push eax
call fcn.00878dfb
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x16
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c359
push eax
call fcn.00878dfb
push ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push 0x3bb
push eax
mov ecx, edi
call fcn.00679e4e
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x16
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.004032b4
cmp eax, ebx
mov dword [ebp - 0x90], eax
mov dword [ebp + 0xc], ebx
je 0x40c3c0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0xc]
call fcn.0041a4e5
cmp eax, ebx
jge 0x40c3c0
cmp eax, 0x80004002
je 0x40c3c0
push eax
call fcn.00878dfb
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c3db
push eax
call fcn.00878dfb
push 0x44
mov ecx, 0x97bac0
call fcn.004029b9
mov dword [ebp - 0x28], eax
cmp eax, ebx
mov byte [ebp - 4], 0x1b
je 0x40c3fd
mov ecx, eax
call fcn.0040cfa7
mov esi, eax
jmp 0x40c3ff
xor esi, esi
push dword [ebp - 0x24]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0x1a
call fcn.00404867
push 0xb4
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push 0x474
push eax
mov ecx, edi
call fcn.00679e4e
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1c
call fcn.004115d9
mov ecx, eax
call fcn.00404e7f
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
push eax
mov byte [ebp - 4], 0x1f
call fcn.00412550
mov dword [esi + 0x40], eax
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00402bc3
add esp, 0xc
cmp eax, ebx
jge 0x40c483
push eax
call fcn.00878dfb
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1a
call fcn.004027eb
push ebx
lea ecx, [ebp - 0x18]
call fcn.004115ad
test al, al
jne 0x40c525
push ebx
lea ecx, [ebp + 0xc]
call fcn.004115ad
test al, al
jne 0x40c525
cmp dword [ebp + 0xc], ebx
mov edi, 0x80004003
jne 0x40c4cb
push edi
call fcn.00878dfb
cmp dword [ebp + 0xc], ebx
jne 0x40c4cb
push edi
call fcn.00878dfb
cmp dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
jne 0x40c4dc
push edi
call fcn.00878dfb
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x40c4ec
push edi
call fcn.00878dfb
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x18]
call fcn.00404abb
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00404a94
mov ecx, dword [ebp - 0x28]
push eax
call fcn.00404abb
push eax
mov ecx, edi
call fcn.00404a94
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004114f3
add esp, 0x14
mov edi, 0x97bc68
jmp 0x40c535
push ebx
push ebx
push ebx
lea eax, [esi + 0x10]
push ebx
push eax
call fcn.004114f3
add esp, 0x14
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], esi
call fcn.00412e1c
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0x18]
mov byte [ebp - 4], 0x20
call fcn.0041394f
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00412de3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
call fcn.00412e2e
lea ecx, [ebp + 0xc]
call fcn.004125d9
lea ecx, [ebp - 0x18]
call fcn.004125d9
lea ecx, [ebp - 0x30]
call fcn.004027eb
lea ecx, [ebp - 0x24]
call fcn.004125e6
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xc
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c5a1
push eax
call fcn.00878dfb
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00402fa6
jmp 0x40c225
push ebx
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push 0x47d
push eax
mov ecx, edi
call fcn.00679e4e
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
push eax
mov byte [ebp - 4], 0x22
call fcn.00412550
mov esi, eax
neg esi
lea eax, [ebp - 0xb0]
sbb esi, esi
push eax
neg esi
mov byte [ebp - 4], 0xb
call fcn.00402bc3
add esp, 0xc
cmp eax, ebx
jge 0x40c60f
push eax
call fcn.00878dfb
cmp esi, ebx
mov eax, dword [ebp - 0x1c]
je 0x40c657
mov edi, dword [eax + 0x28]
cmp edi, ebx
je 0x40c657
cmp edi, dword [eax + 0x24]
je 0x40c63a
cmp edi, dword [eax + 0x28]
je 0x40c63a
lea ecx, [eax + 0x18]
call fcn.0041394f
push edi
mov ecx, eax
call fcn.00412de3
mov eax, dword [ebp - 0x1c]
mov ecx, edi
add edi, 0xfffffff0
neg ecx
sbb ecx, ecx
and ecx, edi
mov ecx, dword [ecx + 8]
mov edx, ecx
add ecx, 0x10
neg edx
sbb edx, edx
and edx, ecx
mov edi, edx
jne 0x40c61d
mov dword [eax + 0x14], esi
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x1c0]
call fcn.00415c64
mov esi, eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00412b4b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x34], esi
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00415e42
mov dword [esi + 0x30], eax
mov esi, dword [ebp - 0x1c]
call dword [fcn.0097b704]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x2c], eax
call fcn.004027f8
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 7
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c6bd
push eax
call fcn.00878dfb
lea ecx, [ebp + 8]
call fcn.004027eb
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00412b35
mov dword [ebp - 0x40], ebx
cmp dword [ebp + 0x10], ebx
mov byte [ebp - 4], 0x23
je 0x40cf18
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.0054e2c6
pop ecx
pop ecx
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x24
mov esi, 0x980690
je 0x40cb6d
cmp word [eax], bx
je 0x40cb6d
push esi
lea ecx, [ebp - 0x88]
call fcn.00403191
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x25
call fcn.00403191
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x26
call fcn.00411641
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004033a1
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x26
call fcn.00405a1d
mov ecx, eax
call fcn.00402660
mov ecx, eax
call fcn.00404a02
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x28
call fcn.00412348
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x29
call fcn.00417232
lea ecx, [ebp + 0xc]
call fcn.004027b3
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c7a6
push eax
call fcn.00878dfb
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x2c
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c7be
push eax
call fcn.00878dfb
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x2b
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c7d9
push eax
call fcn.00878dfb
cmp dword [ebp + 0x10], ebx
je 0x40c8ed
push 0x20
pop eax
call fcn.0087a1b0
mov eax, esp
push eax
push dword [ebp - 0x2c]
call fcn.00412335
add esp, 4
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00402e8e
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x2b
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x30
call fcn.00412348
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x31
call fcn.0041a425
cmp eax, ebx
jge 0x40c84b
cmp eax, 0x80004002
je 0x40c84b
push eax
call fcn.00878dfb
lea ecx, [ebp - 0x34]
call fcn.004027b3
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x2b
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c86e
push eax
call fcn.00878dfb
cmp dword [ebp + 0x10], ebx
je 0x40c8ed
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.0040810c
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x2b
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x33
call fcn.00412348
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x34
call fcn.0041a425
cmp eax, ebx
jge 0x40c8ca
cmp eax, 0x80004002
je 0x40c8ca
push eax
call fcn.00878dfb
lea ecx, [ebp - 0x34]
call fcn.004027b3
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x2b
call fcn.00402bc3
cmp eax, ebx
pop ecx
jge 0x40c8ed
push eax
call fcn.00878dfb
lea ecx, [ebp + 0x10]
call fcn.004027eb
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x23
cmp eax, ebx
je 0x40c90a
add eax, 0xfffffff4
push eax
call fcn.00403384
pop ecx
cmp dword [ebp - 0x40], ebx
je 0x40cf18
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
cmp eax, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], eax
je 0x40cea5
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov edx, eax
add eax, 0xfffffff0
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edx + 4]
mov edx, eax
add eax, 0x10
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44], eax
mov eax, dword [eax + 0xc]
lea ecx, [ebp + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp + 8], eax
call fcn.004125f3
push 0x20
pop eax
mov byte [ebp - 4], 0x35
call fcn.0087a1b0
mov eax, esp
push eax
push dword [ebp - 0x2c]
call fcn.00412335
add esp, 4
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00402e8e
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x35
call fcn.0040263d
mov ecx, eax
call fcn.004048a4
xor esi, esi
cmp word [ebp - 0x64], si
mov byte [ebp - 4], 0x37
je 0x40ceef
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00412348
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x38
call fcn.004172b7
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x3a
call fcn.004027b3
cmp dword [ebp + 0x10], esi
je 0x40cee7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], esi
je 0x40c9f6
mov eax, dword [eax + 0x20]
shr eax, 1
cmp dword [ebp - 0x2c], eax
jne 0x40c9f6
or dword [ebp - 0x48], 0xffffffff
cmp dword [ebp + 8], esi
mov ebx, 0x80004003
jne 0x40ca06
push ebx
call fcn.00878dfb
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.0040eea9
mov esi, eax
mov ecx, edi
neg esi
call fcn.0040eea9
neg eax
cmp eax, esi
mov dword [ebp - 0x24], eax
jl 0x40ca28
mov dword [ebp - 0x24], esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x40ca40
push ebx
call fcn.00878dfb
cmp dword [ebp + 0x10], edi
jne 0x40ca40
push ebx
call fcn.00878dfb
cmp dword [ebp + 8], edi
mov esi, dword [ebp + 0x10]
jne 0x40ca4e
push ebx
call fcn.00878dfb
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp - 0x28], eax
jne 0x40ca5e
push ebx
call fcn.00878dfb
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.0040eea9
mov edx, eax
mov ecx, esi
mov dword [ebp - 0x10], edx
call fcn.0040e48b
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, edi
sub esi, eax
call fcn.0040e48b
mov ecx, dword [ebp - 0x28]
mov edi, eax
call fcn.0040eea9
sub edi, eax
cmp esi, edi
mov dword [ebp - 0x3c], edi
jl 0x40ca99
mov dword [ebp - 0x3c], esi
cmp dword [ebp + 0x10], 0
jne 0x40caa5
push ebx
call fcn.00878dfb
cmp dword [ebp + 8], 0
jne 0x40cab1
push ebx
call fcn.00878dfb
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.0040eed0
mov esi, eax
mov ecx, edi
neg esi
call fcn.0040eed0
neg eax
cmp eax, esi
mov dword [ebp - 0x18], eax
jl 0x40cad3
mov dword [ebp - 0x18], esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x40caeb
push ebx
call fcn.00878dfb
cmp dword [ebp + 0x10], edi
jne 0x40caeb
push ebx
call fcn.00878dfb
cmp dword [ebp + 8], edi
mov esi, dword [ebp + 0x10]
jne 0x40caf9
push ebx
call fcn.00878dfb
mov eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp - 0x28], eax
jne 0x40cb09
push ebx
call fcn.00878dfb
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.0040eed0
mov edx, eax
mov ecx, esi
mov dword [ebp - 0x10], edx
call fcn.0040e53d
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, edi
sub esi, eax
call fcn.0040e53d
mov ecx, dword [ebp - 0x28]
mov edi, eax
call fcn.0040eed0
sub edi, eax
cmp esi, edi
mov dword [ebp - 0x14], edi
jl 0x40cb44
mov dword [ebp - 0x14], esi
and dword [ebp + 0xc], 0
push 0x3af
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x97bc68
mov byte [ebp - 4], 0x3b
call fcn.00679e4e
mov eax, dword [eax]
test eax, eax
mov byte [ebp - 4], 0x3c
je 0x40cb76
mov eax, dword [eax]
jmp 0x40cb78
mov byte [ebp - 4], 0x23
jmp 0x40c8fc
xor eax, eax
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.0040381b
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x3b
call fcn.00402fa6
mov esi, 0x980690
push esi
lea ecx, [ebp - 0x88]
call fcn.00403191
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x3d
call fcn.00403191
mov eax, dword [ebp + 0xc]
test eax, eax
mov byte [ebp - 4], 0x3e
jne 0x40cbc5
push ebx
call fcn.00878dfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
push eax
mov dword [ebp - 0x10], eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x2c]
test eax, eax
jge 0x40cc09
push 0x963cc8
push dword [ebp - 0x10]
push eax
call fcn.00878e09
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x3d
call fcn.00402bc3
xor esi, esi
cmp eax, esi
pop ecx
jge 0x40cc23
push eax
call fcn.00878dfb
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x3b
call fcn.00402bc3
cmp eax, esi
pop ecx
jge 0x40cc3e
push eax
call fcn.00878dfb
push 3
push 0xff
lea ecx, [ebp - 0xd0]
call fcn.004031b7
cmp dword [ebp + 8], esi
mov byte [ebp - 4], 0x3f
jne 0x40cc6a
push ebx
call fcn.00878dfb
cmp dword [ebp + 8], esi
jne 0x40cc6a
push ebx
call fcn.00878dfb
cmp dword [ebp + 0xc], esi
mov edi, dword [ebp + 8]
jne 0x40cc78
push ebx
call fcn.00878dfb
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ecx
call fcn.0040eed0
mov ebx, eax
add ebx, dword [ebp - 0x18]
mov ecx, edi
neg ebx
call fcn.0040eea9
mov ecx, dword [esi]
add eax, dword [ebp - 0x24]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x10]
lea esi, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
neg eax
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x80]
test eax, eax
jge 0x40cccd
push 0x963cc8
push dword [ebp - 0x14]
push eax
call fcn.00878e09
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x3b
call fcn.00402bc3
xor ebx, ebx
cmp eax, ebx
pop ecx
jge 0x40ccea
push eax
call fcn.00878dfb
push 3
push 0xff
lea ecx, [ebp - 0xe0]
call fcn.004031b7
cmp dword [ebp + 0x10], ebx
mov byte [ebp - 4], pe_nt_image_headers32
mov esi, 0x80004003
jne 0x40cd1b
push esi
call fcn.00878dfb
cmp dword [ebp + 0x10], ebx
jne 0x40cd1b
push esi
call fcn.00878dfb
cmp dword [ebp + 0xc], ebx
mov edi, dword [ebp + 0x10]
jne 0x40cd29
push esi
call fcn.00878dfb
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ecx
call fcn.0040eed0
mov ebx, eax
add ebx, dword [ebp - 0x18]
mov ecx, edi
neg ebx
call fcn.0040eea9
mov ecx, dword [esi]
add eax, dword [ebp - 0x24]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x10]
lea esi, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
neg eax
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x80]
test eax, eax
mov esi, 0x963cc8
jge 0x40cd7f
push esi
push dword [ebp - 0x14]
push eax
call fcn.00878e09
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x3b
call fcn.00402bc3
test eax, eax
pop ecx
jge 0x40cd9a
push eax
call fcn.00878dfb
cmp dword [ebp + 0xc], 0
jne 0x40cdaa
push 0x80004003
call fcn.00878dfb
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
neg eax
push eax
push edi
call dword [ecx + 0x70]
test eax, eax
jge 0x40cdc5
push esi
push edi
push eax
call fcn.00878e09
cmp dword [ebp + 0xc], 0
jne 0x40cdd5
push 0x80004003
call fcn.00878dfb
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
neg eax
push eax
push edi
call dword [ecx + 0x78]
test eax, eax
jge 0x40cdf0
push esi
push edi
push eax
call fcn.00878e09
push 0x44
mov ecx, 0x97bac0
call fcn.004029b9
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 0x41
je 0x40ce12
mov ecx, eax
call fcn.0040cfa7
mov ebx, eax
jmp 0x40ce14
xor ebx, ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0x3b
call fcn.00404867
mov eax, dword [ebp - 0x44]
push 0xc
lea esi, [eax + 0x10]
pop ecx
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x40]
lea ecx, [ebp - 0x54]
mov dword [ebx + 0x40], eax
mov dword [ebp - 0x50], ebx
call fcn.00412e1c
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 0x42
call fcn.0041394f
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00412de3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x3b
call fcn.00412e2e
lea ecx, [ebp + 0xc]
call fcn.004125e6
lea ecx, [ebp + 0x10]
call fcn.004125e6
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x35
call fcn.00402bc3
test eax, eax
pop ecx
jge 0x40ce8d
push eax
call fcn.00878dfb
lea ecx, [ebp + 8]
call fcn.004125e6
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 0
jne 0x40c92e
lea ecx, [ebp - 0x40]
call fcn.004027eb
and byte [ebp - 4], 0
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x40cec4
push esi
lea ecx, [ebp - 0x20]
call fcn.004130e3
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x38]
cmp ecx, esi
je 0x40ced0
call fcn.004030b1
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xec]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
lea ecx, [ebp + 0x10]
call fcn.004125e6
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x35
call fcn.00402bc3
cmp eax, esi
pop ecx
jge 0x40cf07
push eax
call fcn.00878dfb
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x23
call fcn.004125e6
cmp dword [ebp - 0x30], esi
je 0x40cea5
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x1c]
call fcn.0041398d
mov ecx, dword [ebp + 0x14]
add esi, 0x18
push esi
call fcn.004126ff
lea ecx, [ebp - 0x40]
call fcn.004027eb
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00412b84
lea ecx, [ebp - 0x38]
call fcn.00402fa6
jmp 0x40ced0