Function at 0x40ef60
Capabilities:
Hash data with md5
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x446bd5
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x454280]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454280]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
xor ebp, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], vtable.CMACReader.0
call fcn.00412000
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [0x457364], ebp
mov dword [esp + 0x114], ebp
xor eax, eax
push 0x5c
lea edx, [esp + 0x64]
push ebp
push edx
mov dword [esp + 0x68], vtable.CHashGenerator.0
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
call fcn.0042b000
add esp, 0xc
mov dword [esp + 0x60], 0x67452301
mov dword [esp + 0x64], 0xefcdab89
mov dword [esp + 0x68], 0x98badcfe
mov dword [esp + 0x6c], 0x10325476
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0xb8], ebp
mov ebx, 1
lea eax, [esp + 0x2c]
mov byte [esp + 0x114], bl
call fcn.00410870
lea eax, [esp + 0x2c]
call fcn.004109e0
test eax, eax
jne 0x40f0bc
lea eax, [esp + 0x2c]
call fcn.00410870
lea eax, [esp + 0x2c]
push eax
call fcn.00411140
test eax, eax
jne 0x40f0bc
lea eax, [esp + 0x2c]
call fcn.00410870
lea ecx, [esp + 0x2c]
push ecx
call fcn.00411340
test eax, eax
jne 0x40f0bc
lea eax, [esp + 0x2c]
call fcn.00410870
xor eax, eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
jmp 0x40f1f3
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
cmp edx, ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
jne 0x40f0e7
xor eax, eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
jmp 0x40f1f3
cmp eax, ebp
mov esi, ecx
je 0x40f0f5
lea edx, [esp + 0x38]
cmp eax, edx
je 0x40f0fe
call fcn.004296bc
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x48], esi
je 0x40f163
cmp eax, ebp
jne 0x40f111
call fcn.004296bc
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 4]
jne 0x40f11f
call fcn.004296bc
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov dword [esp + 0xf4], ecx
mov edx, dword [eax + 4]
lea edi, [esp + 0xf4]
mov dword [esp + 0xf8], edx
call fcn.004108f0
cmp eax, ebp
je 0x40f163
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x44]
jmp 0x40f0e7
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x100], ebp
mov eax, 8
lea ecx, [esp + 0xfc]
lea edx, [esp + 0xf4]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x40f19c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x40f184
cmp eax, ebp
je 0x40f1ed
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x40f1e2
sub eax, ebx
add ecx, ebx
add edx, ebx
cmp eax, ebp
je 0x40f1ed
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x40f1e2
sub eax, ebx
add ecx, ebx
add edx, ebx
cmp eax, ebp
je 0x40f1ed
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x40f1e2
sub eax, ebx
add ecx, ebx
add edx, ebx
cmp eax, ebp
je 0x40f1ed
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x40f1ed
cmp esi, ebp
mov eax, ebx
jg 0x40f1ef
or eax, 0xffffffff
jmp 0x40f1ef
xor eax, eax
cmp eax, ebp
jne 0x40f1f7
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x4c]
push ecx
call fcn.00410250
mov byte [esp + 0x114], 2
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.00402050
add eax, 0x10
mov dword [esp + 0x28], eax
lea edi, [esp + 0x28]
mov byte [esp + 0x114], 3
call fcn.0040fef0
mov ebx, edi
call fcn.0040fe70
mov edx, dword [esp + 0x28]
cmp dword [edx - 0xc], ebp
jne 0x40f242
or dword [esp + 0x24], 2
lea esi, [esp + 0x1c]
call fcn.0040fbc0
mov byte [esp + 0x114], 4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0xc]
cmp eax, ebp
jne 0x40f263
or dword [esp + 0x24], 4
mov edi, 0x104
cmp eax, edi
jge 0x40f360
mov edx, dword [0x4564f4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4564f4
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xfc], esi
mov byte [esp + 0x114], 5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40f2b8
mov ecx, edi
lea eax, [esp + 0xfc]
call fcn.00402490
mov esi, dword [esp + 0xfc]
push 0x208
push ebp
push esi
call fcn.0042b000
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
add esp, 0xc
add ecx, ecx
push ecx
push eax
push esi
call fcn.0042ac10
add esp, 0xc
cmp dword [esi - 8], edi
jl 0x40f507
mov dword [esi - 0xc], edi
mov word [esi + 0x208], bp
mov ebx, dword [esp + 0x1c]
lea edi, [esi - 0x10]
add ebx, 0xfffffff0
cmp edi, ebx
je 0x40f33f
cmp dword [ebx + 0xc], ebp
jl 0x40f332
mov edx, dword [edi]
cmp edx, dword [ebx]
jne 0x40f332
mov eax, edi
call fcn.00402050
mov esi, eax
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f329
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add esi, 0x10
mov dword [esp + 0x1c], esi
jmp 0x40f33f
mov ebx, dword [esi - 0xc]
push esi
lea eax, [esp + 0x20]
call fcn.004029c0
mov byte [esp + 0x114], 4
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f360
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea ebx, [esp + 0x18]
call fcn.0040f910
mov byte [esp + 0x114], 6
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
cmp eax, ebp
mov esi, 0xf
jne 0x40f3f2
mov eax, dword [edx - 8]
or dword [esp + 0x24], 8
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40f3a4
mov ecx, esi
mov eax, ebx
call fcn.00402490
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [edx], eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x18]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x18]
mov dword [edx + 0x10], eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0x18]
mov dword [edx + 0x18], eax
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x1c], ax
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], esi
jl 0x40f507
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
mov word [edx + 0x1e], bp
lea ebx, [esp + 0x20]
call fcn.0040fa50
mov byte [esp + 0x114], 7
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
cmp eax, ebp
mov esi, 0x100
jne 0x40f460
mov eax, dword [edx - 8]
or dword [esp + 0x24], 0x10
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40f436
mov ecx, esi
mov eax, ebx
call fcn.00402490
mov edx, dword [esp + 0x20]
push 0x200
push ebp
push edx
call fcn.0042b000
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp dword [eax - 8], esi
jl 0x40f507
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x20]
mov word [eax + 0x200], bp
push 0x5c
lea ecx, [esp + 0x64]
push ebp
push ecx
call fcn.0042b000
add esp, 0xc
lea edx, [esp + 0x60]
push 8
push edx
lea eax, [esp + 0xfc]
mov dword [esp + 0x68], 0x67452301
mov dword [esp + 0x6c], 0xefcdab89
mov dword [esp + 0x70], 0x98badcfe
mov dword [esp + 0x74], 0x10325476
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], ebp
call fcn.00412880
mov eax, dword [esp + 0x24]
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
add esp, 8
or ecx, edx
jge 0x40f4e3
mov ecx, esi
lea eax, [esp + 0x1c]
call fcn.00402490
mov eax, dword [esp + 0x1c]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00412880
mov edx, dword [esp + 0x24]
add esp, 8
cmp esi, 0xffffffff
mov eax, esi
jne 0x40f525
cmp edx, ebp
jne 0x40f511
xor eax, eax
jmp 0x40f529
push 0x80070057
call fcn.00402470
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x40f516
sub eax, esi
sar eax, 1
cmp eax, ebp
jl 0x40f507
cmp eax, dword [edx - 8]
jg 0x40f507
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
mov word [ecx + eax*2], bp
mov ecx, dword [esp + 0x4c]
push edx
call fcn.00410150
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x40f56e
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00402490
mov eax, dword [esp + 0x18]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00412880
mov edx, dword [esp + 0x20]
add esp, 8
cmp esi, 0xffffffff
mov eax, esi
jne 0x40f5a6
cmp edx, ebp
jne 0x40f592
xor eax, eax
jmp 0x40f5ae
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x40f597
sub eax, esi
sar eax, 1
cmp eax, ebp
jl 0x40f507
cmp eax, dword [edx - 8]
jg 0x40f507
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x18]
mov word [ecx + eax*2], bp
mov eax, dword [esp + 0x20]
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x40f5e9
mov ecx, esi
lea eax, [esp + 0x20]
call fcn.00402490
mov eax, dword [esp + 0x20]
lea edx, [esi + esi]
push edx
lea ecx, [esp + 0x64]
push ecx
call fcn.00412880
mov edx, dword [esp + 0x28]
add esp, 8
cmp esi, 0xffffffff
mov eax, esi
jne 0x40f621
cmp edx, ebp
jne 0x40f60d
xor eax, eax
jmp 0x40f629
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x40f612
sub eax, esi
sar eax, 1
cmp eax, ebp
jl 0x40f507
cmp eax, dword [edx - 8]
jg 0x40f507
mov ebx, dword [esp + 0x50]
mov dword [edx - 0xc], eax
mov edx, dword [esp + 0x20]
add ebx, 4
mov word [edx + eax*2], bp
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x40f6fc
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40f6fc
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x40f680
call fcn.004296bc
lea ebx, [ebx]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x40f68d
call fcn.004296bc
cmp ebx, ebx
je 0x40f696
call fcn.004296bc
cmp edi, esi
je 0x40f6fc
cmp edi, dword [ebx + 8]
jb 0x40f6a4
call fcn.004296bc
push edi
lea esi, [esp + 0xdc]
call fcn.004039e0
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x40f6c9
lea eax, [esp + 0xdc]
mov ecx, dword [esp + 0xec]
lea edx, [ecx + ecx]
push edx
lea ecx, [esp + 0x64]
push ecx
call fcn.00412880
add esp, 8
cmp edi, dword [ebx + 8]
jb 0x40f6eb
call fcn.004296bc
lea esi, [esp + 0xd8]
add edi, 0x1c
call fcn.00401e80
jmp 0x40f680
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x64]
call fcn.00412b60
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebp
je 0x40f73f
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xcc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x1c]
mov ecx, 0x104
cmp dword [eax - 8], ecx
mov dword [esp + 0xbc], 1
jl 0x40f507
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x1c]
mov word [eax + 0x208], bp
mov eax, dword [esp + 0x18]
mov ecx, 0xf
cmp dword [eax - 8], ecx
jl 0x40f507
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x1e], bp
mov eax, dword [esp + 0x20]
mov ecx, 0x100
cmp dword [eax - 8], ecx
jl 0x40f507
mov dword [eax - 0xc], ecx
mov edx, dword [esp + 0x20]
mov word [edx + 0x200], bp
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x40f7b4
call fcn.004296bc
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x40f7c1
call fcn.004296bc
push esi
push ebx
push edi
push ebx
lea eax, [esp + 0x64]
push eax
call fcn.00410020
mov byte [esp + 0x114], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f7f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x114], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f81f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x114], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x114], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f86f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x114], 1
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov dword [esp + 0x2c], vtable.CMACReader.0
je 0x40f8b4
push eax
call fcn.004292b6
add esp, 4
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x40f8c7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x30], ebp
lea eax, [esp + 0x2c]
call fcn.00410870
lea esi, [esp + 0x38]
call fcn.00412020
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00429296
add esp, 0x104
ret 4