Function at 0x4224f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401c20
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor ebx, ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], ebx
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
push 0x11
lea eax, [ebp - 0x4c]
push 0x40acf0
push eax
call esi
push 0x11
lea ecx, [ebp - 0x6c]
push 0x40ad0c
push ecx
call esi
push 0x11
lea edx, [ebp - 0x90]
push 0x40ad28
push edx
call esi
call 0x4222a0
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.MSVBVM60.DLL_VarPtr]
push eax
call esi
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x34], eax
push ecx
call esi
lea edx, [ebp - 0x74]
mov edi, eax
push edx
call esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
push eax
call esi
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
mov dword [ebp - 0xa8], eax
call fcn.00408a64
mov dword [ebp - 0xa4], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0xa4]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x421f47
lea edx, [ebp - 0x30]
push edx
call esi
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00408af0
mov dword [ebp - 0xa4], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [ebp - 0xa4], ebx
jne 0x421f63
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00408b34
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, 0x407f58
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
wait
push 0x422277
jmp 0x422222
mov edx, dword [ebp - 0x34]
push edx
call 0x4224f0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x1c]
push ebx
push eax
push 0x1000
push edi
push ecx
call fcn.00408aa8
mov dword [ebp - 0xa4], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [ebp - 0xa4], ebx
jne 0x421f9a
mov edx, dword [ebp - 0x1c]
push edx
jmp 0x421f3c
xor eax, eax
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x1000
jne 0x42204a
add eax, 1
push ebx
jo 0x422295
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0xa0]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCyAdd]
mov dword [ebp - 0xa0], eax
mov al, byte [ebp - 0x18]
cmp al, bl
mov dword [ebp - 0x9c], edx
jne 0x421fe9
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 0x18], ebx
xor esi, esi
mov eax, 0x3f
cmp esi, eax
jg 0x422022
mov edx, esi
mov eax, dword [ebp - 0x34]
imul edx, edx, 0x40
jo 0x422295
add edx, edi
jo 0x422295
push edx
push eax
call fcn.004225b0
mov eax, 1
add eax, esi
jo 0x422295
mov esi, eax
jmp 0x421feb
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x1c]
push ebx
push ecx
push 0x1000
push edi
push edx
call fcn.00408aa8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.MSVBVM60.DLL_VarPtr]
jmp 0x421f9c
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCyI4]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Cy]
cmp dword [section..data], 0
jne 0x42206a
fdiv qword [0x401c18]
jmp 0x42207b
push dword [0x401c1c]
push dword [0x401c18]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x422290
call dword [sym.imp.MSVBVM60.DLL___vbaFpCy]
mov ecx, dword [ebp - 0xa0]
push edx
push eax
mov eax, dword [ebp - 0x9c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCyAdd]
cmp eax, dword [ebp - 0x30]
jne 0x4220ab
cmp edx, dword [ebp - 0x2c]
je 0x4220b4
mov edx, dword [ebp - 0x1c]
push edx
jmp 0x421f3c
mov eax, dword [ebp - 0x74]
cmp eax, 0x40
jl 0x4220e0
mov eax, dword [ebp - 0x34]
push edi
push eax
call fcn.004225b0
mov eax, dword [ebp - 0x74]
sub eax, 0x40
jo 0x422295
add edi, 0x40
mov dword [ebp - 0x74], eax
jo 0x422295
jmp 0x4220b7
cmp eax, 0x40
mov dword [ebp - 0xb0], eax
jb 0x4220f1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0xb0]
push 8
mov byte [ecx + edx], 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaCyI4]
mov ecx, dword [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x2c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCyMul]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
cmp eax, ebx
mov dword [ebp - 0x2c], edx
jne 0x422153
lea edx, [ebp - 0x30]
push edx
call esi
mov esi, dword [ebp - 0x20]
push 8
mov dword [ebp - 0xa4], eax
push eax
mov eax, esi
add eax, 0x38
jo 0x422295
push eax
call fcn.00408258
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x34]
push esi
push ecx
jmp 0x4221d0
push eax
push edi
mov edi, dword [ebp - 0x20]
push edi
call fcn.00408258
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call ebx
cmp dword [ebp - 0x74], 0x38
jge 0x422195
lea edx, [ebp - 0x30]
push edx
call esi
push 8
mov dword [ebp - 0xa4], eax
push eax
mov eax, edi
add eax, 0x38
jo 0x422295
push eax
call fcn.00408258
call ebx
mov ecx, dword [ebp - 0x34]
push edi
push ecx
jmp 0x4221d0
mov edx, dword [ebp - 0x34]
push edi
push edx
call fcn.004225b0
push 0x40
push edi
call fcn.00408994
call ebx
lea eax, [ebp - 0x30]
push eax
call esi
mov ecx, edi
push 8
add ecx, 0x38
push eax
jo 0x422295
push ecx
mov dword [ebp - 0xa4], eax
call fcn.00408258
call ebx
mov edx, dword [ebp - 0x34]
push edi
push edx
call fcn.004225b0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00408b34
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x4c]
push edx
mov dword [ebp - 0xa4], ecx
call fcn.00422690
mov edx, eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
wait
push 0x422277
jmp 0x422222
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x24]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0xa4]
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ecx
push ebx
mov dword [ebp - 0xa4], eax
call esi
lea ecx, [ebp - 0x54]
call edi
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x6c]
push eax
push ebx
mov dword [ebp - 0xa8], edx
call esi
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x90]
push edx
push ebx
mov dword [ebp - 0xac], ecx
call esi
ret
jmp fcn.0040273c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x402736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401c30
push 3
lea eax, [ebp - 0x2c]
xor esi, esi
push 0x40ad70
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x74], esi
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
cmp dword [0x434a2c], esi
jne 0x422303
push 0x434a2c
push 0x408bb4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea ebx, [ebp - 0x4c]
mov ecx, 8
push ebx
mov dword [ebp - 0x60], ecx
sub esp, 0x10
mov eax, 0x40ad64
mov ebx, esp
sub esp, 0x10
mov esi, dword [0x434a2c]
mov edx, 0x40ad44
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x6c]
mov edi, dword [esi]
mov dword [ebx + 4], ecx
mov ecx, esp
push esi
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x54]
mov dword [ecx + 0xc], edx
call dword [edi + 0x38]
test eax, eax
fnclex
jge 0x422369
push 0x38
push 0x408ba4
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVar2Vec]
lea edx, [ebp - 0x50]
push edx
push 0x434034
call dword [sym.imp.MSVBVM60.DLL___vbaAryMove]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp word [0x434038], 0
jne 0x422499
push fcn.004225b0
call fcn.004228f0
mov ebx, eax
mov eax, dword [0x434034]
lea ecx, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4223df
cmp word [ecx], 1
jne 0x4223df
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg esi
cmp esi, eax
jb 0x4223db
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x3c]
mov eax, esi
jmp 0x4223e8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0xc]
mov esi, dword [sym.imp.MSVBVM60.DLL_VarPtr]
add edx, eax
push edx
call esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x20]
mov edx, ebx
mov dword [ebp - 0x34], eax
add edx, 5
mov dword [ecx], 0xe9000000
mov ecx, dword [ebp - 0x20]
jo 0x4224e4
sub eax, edx
lea edx, [ebp - 0x38]
jo 0x4224e4
push edx
mov dword [ecx + 4], eax
call esi
push eax
push 0x40
push 5
push ebx
call fcn.0040894c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call edi
mov eax, dword [ebp - 0x20]
push eax
call esi
mov dword [ebp - 0x74], eax
add eax, 3
push 5
jo 0x4224e4
push eax
push ebx
call fcn.00408258
call edi
mov eax, dword [ebp - 0x38]
push eax
push eax
push 5
push ebx
call fcn.0040894c
call edi
lea ecx, [ebp - 0x38]
push ecx
call esi
mov edx, dword [0x434034]
push eax
push 0x40
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
add eax, 1
jo 0x4224e4
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.0040894c
call edi
push 0x4224d3
jmp 0x4224c0
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x2c]
push ecx
push 0
mov dword [ebp - 0x74], eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x402736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401c40
push 3
lea eax, [ebp - 0x28]
push 0x40ab64
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x67452301
mov edx, dword [ebp - 0x1c]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 0x10
mov dword [ebp - 0x30], eax
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00408258
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x42258f
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x28]
push edx
push 0
mov dword [ebp - 0x30], ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret