Function at 0x40c4db
Capabilities:
Print debug messages
Reference absolute stream path on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47abd0
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.00428ae0
mov eax, dword [0x4a90d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x1030], eax
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x40bc12
sub ebx, ecx
lea eax, [ebx*2 + 2]
call fcn.00428b10
mov edi, esp
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x1030]
push edi
call fcn.0040da80
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0042e960
add esp, 0x18
xor ebx, ebx
mov dword [ebp - 0x102c], ebx
movzx eax, word [edi]
push eax
call fcn.00435f1b
add esp, 4
test eax, eax
je 0x40bc7b
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.00435f1b
add esp, 4
test eax, eax
jne 0x40bc67
movzx eax, word [edi]
test ax, ax
je 0x40c507
cmp eax, 0x2d
je 0x40bcf5
cmp eax, 0x2f
je 0x40bcf5
push 0x800
lea eax, [ebp - 0x1010]
mov ecx, esi
push eax
push edi
call fcn.0040b980
mov edi, eax
lea ebx, [esi + 0x284]
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.0040b8a0
add esp, 8
test eax, eax
jne 0x40bcce
mov ebx, 1
mov dword [esi + 0x4b0], ebx
jmp 0x40bc51
push ebx
call fcn.00414030
mov ebx, dword [ebp - 0x102c]
add esp, 4
test eax, eax
jne 0x40bc57
mov ebx, 1
mov dword [esi + 0x4b4], ebx
jmp 0x40bc51
lea eax, [ebp - 0x1010]
mov ecx, esi
push 0x800
push eax
mov dword [ebp - 0x1030], eax
lea eax, [edi + 2]
push eax
call fcn.0040b980
push dword [ebp - 0x1010]
mov edi, eax
call fcn.00436089
movzx eax, ax
add esp, 4
add eax, 0xffffffc1
cmp eax, 0x3b
ja case.0x40bd38.64
movzx eax, byte [eax + 0x40c590]
jmp dword [eax*4 + 0x40c538]
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x63
jne 0x40bd62
mov dword [esi + 0x250], 1
jmp 0x40bc57
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x65
jne 0x40bd85
mov dword [esi + 0x264], 1
jmp 0x40bc57
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x6f
jne 0x40bda8
mov dword [esi + 0x270], 1
jmp 0x40bc57
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x70
jne 0x40bdcb
mov dword [esi + 0x274], 1
jmp 0x40bc57
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x66
jne 0x40be1a
mov dword [esi + 0x250], 1
call fcn.0040b860
test al, al
jne 0x40bc57
push str.C:_bambooxml_data_build_dirCRED_CSV2279_JOB1_srcCmgWinNtShield_srcWSScanScanOpt.cpp:CScanOptions::ParseCommandLine____error_opening_CEF_device_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x254], 1
mov dword [esi + 0x258], 1
jmp 0x40bc57
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x73
jne 0x40be55
call fcn.0040b860
test al, al
jne 0x40bc57
push str.C:_bambooxml_data_build_dirCRED_CSV2279_JOB1_srcCmgWinNtShield_srcWSScanScanOpt.cpp:CScanOptions::ParseCommandLine____error_opening_CEF_device_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x27c], 1
jmp 0x40bc57
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x74
jne 0x40be78
mov dword [esi + 0x280], 1
jmp 0x40bc57
cmp word [ebp - 0x100e], 0
jne case.0x40bd38.64
mov dword [esi + 0x250], 1
mov dword [esi + 0x264], 1
mov dword [esi + 0x270], 1
mov dword [esi + 0x274], 1
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bec0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x230], ecx
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bef0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x234], ecx
jmp 0x40bc57
lea ecx, [ebp - 0x100e]
mov dword [esi], 1
lea edx, [esi + 4]
mov eax, ecx
mov ebx, edx
sub ebx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + ebx - 2], ax
test ax, ax
jne 0x40bf24
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x40bf37
mov ebx, dword [ebp - 0x102c]
sub edx, ecx
sar edx, 1
jne 0x40bc57
mov dword [esi + 0x4a8], 1
mov ebx, 1
jmp 0x40bc51
push dword [section..data]
lea eax, [ebp - 0x100e]
push eax
call fcn.00431b76
add esp, 8
test eax, eax
jne 0x40bf8e
mov dword [esi + 0x220], 0x3f4
jmp 0x40bc57
push dword [0x4a9004]
lea eax, [ebp - 0x100e]
push eax
call fcn.00431b76
add esp, 8
test eax, eax
jne 0x40bfb6
mov dword [esi + 0x220], 0x3f5
jmp 0x40bc57
push dword [0x4a9008]
lea eax, [ebp - 0x100e]
push eax
call fcn.00431b76
add esp, 8
test eax, eax
jne case.0x40bd38.64
mov dword [esi + 0x220], 0x3f6
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bfe7
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x238], ecx
jmp 0x40bc57
push 9
lea eax, [ebp - 0x100e]
push eax
lea eax, [esi + 0x20c]
push eax
call fcn.004319df
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c025
sub eax, edx
sar eax, 1
jne 0x40bc57
mov dword [esi + 0x4ac], 1
mov ebx, 1
jmp 0x40bc51
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c057
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x224], ecx
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c083
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x228], ecx
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c0b0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x23c], ecx
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c0e0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x25c], ecx
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c110
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne case.0x40bd38.64
mov dword [esi + 0x260], ecx
jmp 0x40bc57
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x61
jne 0x40c153
mov dword [esi + 0x494], 0
jmp 0x40c1b1
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x66
jne 0x40c173
mov dword [esi + 0x494], 1
jmp 0x40c1b1
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x72
jne 0x40c193
mov dword [esi + 0x494], 2
jmp 0x40c1b1
push dword [ebp - 0x100e]
call fcn.00436089
add esp, 4
cmp ax, 0x63
jne 0x40c1b1
mov dword [esi + 0x494], 3
lea ecx, [ebp - 0x100e]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c1c0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
je 0x40bc57
mov ebx, 1
jmp 0x40bc51
push dword [ebp - 0x100e]
lea ebx, [ebp - 0x100e]
mov dword [esi + 0x240], 1
mov eax, ebx
mov dword [esi + 0x24c], 1
mov dword [esi + 0x498], 2
mov dword [ebp - 0x1030], eax
call fcn.00436089
add esp, 4
cmp ax, 0x61
jne 0x40c232
lea ebx, [ebp - 0x100c]
mov eax, ebx
mov dword [ebp - 0x1030], eax
jmp 0x40c238
lea eax, [ebp - 0x100e]
movzx ecx, word [ebx]
cmp ecx, 0x2d
jne 0x40c24f
mov dword [esi + 0x498], 1
lea ebx, [eax + 2]
jmp 0x40c27b
push ecx
call fcn.00436089
add esp, 4
cmp ax, 0x76
jne 0x40c285
mov ebx, dword [ebp - 0x1030]
mov dword [esi + 0x248], 1
add ebx, 2
mov dword [esi + 0x498], 3
mov dword [esi + 0x244], 1
cmp word [ebx], 0
mov ebx, dword [ebp - 0x102c]
je 0x40bc57
mov ebx, 1
jmp 0x40bc51
lea eax, [ebp - 0x1030]
mov ecx, esi
push eax
call fcn.0040bb40
push str.TEMP
call fcn.00436aef
mov edx, eax
mov dword [ebp - 0x1028], 0
mov ecx, edx
mov dword [ebp - 0x1018], 0
add esp, 4
mov dword [ebp - 0x1014], 7
xor eax, eax
mov word [ebp - 0x1028], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x1030], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c2f0
sub ecx, dword [ebp - 0x1030]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1028]
call fcn.00402bd0
push str.AdaptiveEncryption.csv
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0
call fcn.0040ca10
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
push 0x104
cmovae eax, dword [ebp - 0x1028]
push eax
lea eax, [esi + 4]
push eax
call fcn.004319df
push 9
lea eax, [esi + 0x20c]
mov dword [esi + 0x220], 0x3f5
push 0x47e93c
push eax
call fcn.004319df
mov edx, dword [ebp - 0x1014]
add esp, 0x18
mov dword [esi + 0x224], 1
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x40c3bb
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c3b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c532
push edx
push ecx
call fcn.00428a50
add esp, 8
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
jmp 0x40bc57
mov dword [esi + 0x268], 1
jmp 0x40bc57
push 0x20c
call fcn.004360b7
add esp, 4
mov dword [ebp - 0x1030], eax
test eax, eax
je case.0x40bd38.64
lea ecx, [ebp - 0x100e]
mov edx, eax
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x40c413
mov edx, dword [ebp - 0x1030]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1030], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c434
sub ecx, dword [ebp - 0x1030]
sar ecx, 1
jne 0x40c462
mov ebx, 1
push edx
mov dword [ebp - 0x102c], ebx
call fcn.0043609c
add esp, 4
jmp 0x40bc57
mov eax, dword [esi + 0x48c]
mov dword [edx + 0x208], eax
mov dword [esi + 0x48c], edx
jmp 0x40bc57
lea ecx, [ebp - 0x100e]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c482
sub ecx, edx
sar ecx, 1
je 0x40c4ad
lea eax, [ebp - 0x100e]
push eax
call fcn.004369c9
add esp, 4
mov dword [esi + 0x490], eax
jmp 0x40bc57
mov eax, 0xc8
mov dword [esi + 0x490], eax
jmp 0x40bc57
mov dword [esi + 0x26c], 1
jmp 0x40bc57
mov dword [esi + 0x278], 1
jmp 0x40bc57
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c4e4
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x40bc57
mov dword [esi + 0x4b8], ecx
jmp 0x40bc57
xor eax, eax
test ebx, ebx
sete al
lea esp, [ebp - 0x1040]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428a63
mov esp, ebp
pop ebp
ret 4
call fcn.00435e90
nop
fcmovnb st(0), st(4)
inc eax
add byte [esi + 0xa0040c0], ah
rol byte [eax], 0x7a
rol byte [eax], 0x66
mov edi, 0xc0d30040
inc eax
add bl, ah
mov esi, 0xbd3f0040
inc eax
add ah, cl
les eax, [eax]
movsx eax, word [eax]
add eax, ecx
inc eax
add byte [esi - 0x40], cl
inc eax
add dh, bl
mov edi, 0xbeb30040
inc eax
add byte [ebx], dh
rol dword [eax], 0xe2
rol dword [eax], 0x9f
ret 0x40