Function at 0x40d820
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403096
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x170
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402ca0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x68]
sub eax, 0x56dcbc
jo 0x40e75e
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 4
fild dword [ebp - 0x78]
fstp qword [ebp - 0xe8]
fld qword [ebp - 0xe8]
cmp dword [section..data], 0
jne 0x40d8b3
fdiv qword [0x402f20]
jmp 0x40d8c4
push dword [0x402f24]
push dword [0x402f20]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 5
movzx cx, byte [ebp - 0x8c]
or ecx, 0x39
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x8c], al
mov dword [ebp - 4], 6
fld qword [ebp - 0x30]
cmp dword [section..data], 0
jne 0x40d910
fdiv qword [0x402f18]
jmp 0x40d921
push dword [0x402f1c]
push dword [0x402f18]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [ebp - 0x30]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 7
movzx ax, byte [ebp - 0x70]
cwd
mov cx, 0x3d
idiv cx
mov ecx, edx
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x70], al
mov dword [ebp - 4], 8
mov ax, word [ebp - 0x44]
cwd
mov cx, 0x4331
idiv cx
mov word [ebp - 0x44], dx
mov dword [ebp - 4], 9
mov ax, word [ebp - 0x28]
cwd
mov cx, 0x36e3
idiv cx
mov word [ebp - 0x28], dx
mov dword [ebp - 4], 0xa
fld qword [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
or eax, 0x23dcd6
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0x4c]
mov dword [ebp - 4], 0xb
mov eax, 0xeb8e78
cdq
idiv dword [ebp - 0x68]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0xc
mov dx, word [ebp - 0xbc]
or dx, 0x75c7
mov word [ebp - 0xbc], dx
mov dword [ebp - 4], 0xd
fld qword [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
cdq
mov ecx, 0x5529d3
idiv ecx
mov dword [ebp - 0xf0], edx
fild dword [ebp - 0xf0]
fstp qword [ebp - 0x38]
mov dword [ebp - 4], 0xe
mov edx, dword [ebp - 0x50]
imul edx, edx, 0x795fc9
jo 0x40e75e
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xf
mov eax, 0x258fbf
cdq
idiv dword [ebp - 0x74]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0x10
movsx eax, word [ebp - 0x88]
mov dword [ebp - 0xf4], eax
fild dword [ebp - 0xf4]
fstp qword [ebp - 0xfc]
fld qword [0x402f10]
cmp dword [section..data], 0
jne 0x40da59
fdiv qword [ebp - 0xfc]
jmp 0x40da6a
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 0x11
mov cx, word [ebp - 0xb0]
xor cx, 0x3db9
mov word [ebp - 0xb0], cx
mov dword [ebp - 4], 0x12
movzx cx, byte [ebp - 0x7c]
and ecx, 0xffff006e
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x7c], al
mov dword [ebp - 4], 0x13
mov edx, dword [ebp - 0x74]
xor edx, 0x3f34f4
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0x14
fld qword [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
and eax, 0xa46163
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fstp qword [ebp - 0x84]
mov dword [ebp - 4], 0x15
movzx cx, byte [ebp - 0x70]
xor cx, 0x9a
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x70], al
mov dword [ebp - 4], 0x16
mov ax, 0x2a95
cwd
idiv word [ebp - 0xb0]
mov word [ebp - 0xb0], dx
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0xcc]
cdq
mov ecx, 0x2ee1a9
idiv ecx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 4], 0x18
fld qword [ebp - 0x30]
fsub qword [0x402f08]
fstp qword [ebp - 0x30]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x19
mov edx, dword [ebp - 0x78]
add edx, 0xfafa7
jo 0x40e75e
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 0x1a
fld qword [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
or eax, 0x9773ea
mov dword [ebp - 0x104], eax
fild dword [ebp - 0x104]
fstp qword [ebp - 0xa8]
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0x6c]
and eax, 0x2954dc
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x8c]
and ecx, 0xff
mov dword [ebp - 0x108], ecx
fild dword [ebp - 0x108]
fstp qword [ebp - 0x110]
fld qword [ebp - 0x110]
cmp dword [section..data], 0
jne 0x40dbf1
fdiv qword [0x402f00]
jmp 0x40dc02
push dword [0x402f04]
push dword [0x402f00]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpUI1]
mov byte [ebp - 0x8c], al
mov dword [ebp - 4], 0x1d
mov dx, word [ebp - 0x88]
or dx, 0x523b
mov word [ebp - 0x88], dx
mov dword [ebp - 4], 0x1e
movsx eax, word [ebp - 0x64]
mov dword [ebp - 0x114], eax
fild dword [ebp - 0x114]
fstp qword [ebp - 0x11c]
fld qword [0x401b20]
cmp dword [section..data], 0
jne 0x40dc66
fdiv qword [ebp - 0x11c]
jmp 0x40dc77
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov word [ebp - 0x64], ax
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0xc0]
imul ecx, ecx, 0x96b554
jo 0x40e75e
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 4], 0x20
mov edx, dword [ebp - 0x40]
sub edx, 0xce0f5f
jo 0x40e75e
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0x21
fild dword [ebp - 0xc0]
fstp qword [ebp - 0x124]
fld qword [0x402ef8]
cmp dword [section..data], 0
jne 0x40dced
fdiv qword [ebp - 0x124]
jmp 0x40dcfe
push dword [ebp - 0x120]
push dword [ebp - 0x124]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 0x22
fld qword [0x402ef0]
fmul qword [ebp - 0x94]
fstp qword [ebp - 0x94]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x23
mov ax, word [ebp - 0x88]
and ax, 0x5c22
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 0x24
movzx cx, byte [ebp - 0x7c]
and ecx, 0xffff0005
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x7c], al
mov dword [ebp - 4], 0x25
mov eax, dword [ebp - 0x68]
cdq
mov ecx, 0x16458e
idiv ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0x26
movzx dx, byte [ebp - 0x70]
mov cx, 0x23
sub cx, dx
jo 0x40e75e
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x70], al
mov dword [ebp - 4], 0x27
mov ax, word [ebp - 0x58]
add ax, 0x5808
jo 0x40e75e
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0x28
mov cx, word [ebp - 0x64]
or cx, 0x14ab
mov word [ebp - 0x64], cx
mov dword [ebp - 4], 0x29
fld qword [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
cdq
mov ecx, 0xe6ab7a
idiv ecx
mov dword [ebp - 0x128], edx
fild dword [ebp - 0x128]
fstp qword [ebp - 0x4c]
mov dword [ebp - 4], 0x2a
mov edx, dword [ebp - 0xcc]
xor edx, 0x477dc4
mov dword [ebp - 0xcc], edx
mov dword [ebp - 4], 0x2b
movzx cx, byte [ebp - 0xa0]
imul cx, cx, 0x24
jo 0x40e75e
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0xa0], al
mov dword [ebp - 4], 0x2c
mov ax, word [ebp - 0x28]
xor ax, 0x4386
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0x2d
mov cx, word [ebp - 0x24]
and cx, 0x40ca
mov word [ebp - 0x24], cx
mov dword [ebp - 4], 0x2e
fld qword [ebp - 0x60]
fadd qword [0x402ee8]
fstp qword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x2f
fld qword [ebp - 0x94]
fadd qword [0x402ee0]
fstp qword [ebp - 0x94]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x30
mov edx, dword [ebp - 0x50]
add edx, 0xeffd64
jo 0x40e75e
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0x31
mov eax, dword [ebp - 0x9c]
add eax, 0x2a72bd
jo 0x40e75e
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0x32
mov cx, word [ebp - 0x88]
or cx, 0x54f7
mov word [ebp - 0x88], cx
mov dword [ebp - 4], 0x33
mov dx, word [ebp - 0x98]
add dx, 0x7099
jo 0x40e75e
mov word [ebp - 0x98], dx
mov dword [ebp - 4], 0x34
mov ax, word [ebp - 0x3c]
xor ax, 0x630
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 0x35
mov ecx, dword [ebp - 0x74]
xor ecx, 0x75e530
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0x36
mov edx, dword [ebp - 0x40]
or edx, 0x35f7d1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0x37
fld qword [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
xor eax, 0xba5642
mov dword [ebp - 0x12c], eax
fild dword [ebp - 0x12c]
fstp qword [ebp - 0x38]
mov dword [ebp - 4], 0x38
movzx cx, byte [ebp - 0xac]
add cx, 0xd8
jo 0x40e75e
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0xac], al
mov dword [ebp - 4], 0x39
fld qword [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov ecx, eax
mov eax, 0x1374c4
cdq
idiv ecx
mov dword [ebp - 0x130], edx
fild dword [ebp - 0x130]
fstp qword [ebp - 0x4c]
mov dword [ebp - 4], 0x3a
movzx cx, byte [ebp - 0x8c]
xor cx, 0x6a
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x8c], al
mov dword [ebp - 4], 0x3b
fld qword [ebp - 0xc8]
fsub qword [0x402ed8]
fstp qword [ebp - 0xc8]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x3c
fld qword [0x402ed0]
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x3d
fld qword [ebp - 0xc8]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
cdq
mov ecx, 0x4cf5ca
idiv ecx
mov dword [ebp - 0x134], edx
fild dword [ebp - 0x134]
fstp qword [ebp - 0xc8]
mov dword [ebp - 4], 0x3e
movzx cx, byte [ebp - 0xa0]
xor cx, 0xaa
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0xa0], al
mov dword [ebp - 4], 0x3f
movsx edx, word [ebp - 0x54]
mov dword [ebp - 0x138], edx
fild dword [ebp - 0x138]
fstp qword [ebp - 0x140]
fld qword [ebp - 0x140]
cmp dword [section..data], 0
jne 0x40e098
fdiv qword [0x4019b8]
jmp 0x40e0a9
push dword [0x4019bc]
push dword [0x4019b8]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0x40
mov ax, word [ebp - 0x58]
and ax, 0x4fd4
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0x41
mov ax, word [ebp - 0x54]
cwd
mov cx, 0x3f17
idiv cx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0x42
mov edx, dword [ebp - 0x40]
xor edx, 0x88002b
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0x43
movzx cx, byte [ebp - 0xb4]
sub cx, 0xb0
jo 0x40e75e
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0xb4], al
mov dword [ebp - 4], 0x44
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x148]
fld qword [ebp - 0x148]
cmp dword [section..data], 0
jne 0x40e148
fdiv qword [0x402ec8]
jmp 0x40e159
push dword [0x402ecc]
push dword [0x402ec8]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0x45
mov ax, word [ebp - 0xb0]
add ax, 0x3500
jo 0x40e75e
mov word [ebp - 0xb0], ax
mov dword [ebp - 4], 0x46
mov ecx, dword [ebp - 0x7c]
and ecx, 0xff
mov dword [ebp - 0x14c], ecx
fild dword [ebp - 0x14c]
fstp qword [ebp - 0x154]
fld qword [0x402ec0]
cmp dword [section..data], 0
jne 0x40e1c4
fdiv qword [ebp - 0x154]
jmp 0x40e1d5
push dword [ebp - 0x150]
push dword [ebp - 0x154]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpUI1]
mov byte [ebp - 0x7c], al
mov dword [ebp - 4], 0x47
fld qword [0x402eb8]
cmp dword [section..data], 0
jne 0x40e206
fdiv qword [ebp - 0x84]
jmp 0x40e214
push dword [ebp - 0x80]
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [ebp - 0x84]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x48
mov dx, word [ebp - 0x54]
imul dx, dx, 0x7128
jo 0x40e75e
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0x49
mov ax, word [ebp - 0x3c]
xor ax, 0x47a0
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 0x4a
movsx ecx, word [ebp - 0x44]
mov dword [ebp - 0x158], ecx
fild dword [ebp - 0x158]
fstp qword [ebp - 0x160]
fld qword [ebp - 0x160]
cmp dword [section..data], 0
jne 0x40e285
fdiv qword [0x402eb0]
jmp 0x40e296
push dword [0x402eb4]
push dword [0x402eb0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0x4b
mov edx, dword [ebp - 0x78]
imul edx, edx, 0x884b8
jo 0x40e75e
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 0x4c
fld qword [ebp - 0x38]
fmul qword [0x402ea8]
fstp qword [ebp - 0x38]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x4d
mov ax, word [ebp - 0x98]
xor ax, 0x711e
mov word [ebp - 0x98], ax
mov dword [ebp - 4], 0x4e
mov cx, 0x1b8b
sub cx, word [ebp - 0xbc]
jo 0x40e75e
mov word [ebp - 0xbc], cx
mov dword [ebp - 4], 0x4f
fld qword [0x402ef8]
cmp dword [section..data], 0
jne 0x40e336
fdiv qword [ebp - 0x84]
jmp 0x40e344
push dword [ebp - 0x80]
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [ebp - 0x84]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x50
fild dword [ebp - 0x9c]
fstp qword [ebp - 0x168]
fld qword [0x402ea0]
cmp dword [section..data], 0
jne 0x40e37e
fdiv qword [ebp - 0x168]
jmp 0x40e38f
push dword [ebp - 0x164]
push dword [ebp - 0x168]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0x51
mov dx, word [ebp - 0xb0]
or dx, 0x7c9d
mov word [ebp - 0xb0], dx
mov dword [ebp - 4], 0x52
mov ax, word [ebp - 0x64]
imul ax, ax, 0x2e20
jo 0x40e75e
mov word [ebp - 0x64], ax
mov dword [ebp - 4], 0x53
movzx cx, byte [ebp - 0xb4]
xor cx, 0x31
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0xb4], al
mov dword [ebp - 4], 0x54
mov ecx, dword [ebp - 0xc0]
or ecx, 0xcf1879
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 4], 0x55
mov eax, dword [ebp - 0xc0]
cdq
mov ecx, 0x6ca80d
idiv ecx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 4], 0x56
mov dx, word [ebp - 0xbc]
xor dx, 0x6796
mov word [ebp - 0xbc], dx
mov dword [ebp - 4], 0x57
fld qword [ebp - 0x94]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
or eax, 0x9b2440
mov dword [ebp - 0x16c], eax
fild dword [ebp - 0x16c]
fstp qword [ebp - 0x94]
mov dword [ebp - 4], 0x58
mov ax, word [ebp - 0x58]
add ax, 0x440a
jo 0x40e75e
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0x59
fld qword [0x402e98]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x5a
mov ax, 0x48a9
cwd
idiv word [ebp - 0xb8]
mov word [ebp - 0xb8], dx
mov dword [ebp - 4], 0x5b
fld qword [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
and eax, 0xacaa33
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp qword [ebp - 0x60]
mov dword [ebp - 4], 0x5c
mov cx, word [ebp - 0x28]
and cx, 0xa4a
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 0x5d
fld qword [0x402e90]
fmul qword [ebp - 0x38]
fstp qword [ebp - 0x38]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x5e
mov edx, dword [ebp - 0x50]
or edx, 0xd2f25d
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0x5f
mov ax, word [ebp - 0xbc]
add ax, 0x5472
jo 0x40e75e
mov word [ebp - 0xbc], ax
mov dword [ebp - 4], 0x60
fld qword [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
and eax, 0x7081f1
mov dword [ebp - 0x174], eax
fild dword [ebp - 0x174]
fstp qword [ebp - 0xa8]
mov dword [ebp - 4], 0x61
fld qword [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
cdq
mov ecx, 0x3459af
idiv ecx
mov dword [ebp - 0x178], edx
fild dword [ebp - 0x178]
fstp qword [ebp - 0x30]
mov dword [ebp - 4], 0x62
movsx edx, word [ebp - 0x58]
mov dword [ebp - 0x17c], edx
fild dword [ebp - 0x17c]
fstp qword [ebp - 0x184]
fld qword [ebp - 0x184]
cmp dword [section..data], 0
jne 0x40e5cd
fdiv qword [0x402e88]
jmp 0x40e5de
push dword [0x402e8c]
push dword [0x402e88]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0x63
mov ax, word [ebp - 0x28]
and ax, 0xc81
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0x64
fld qword [ebp - 0xc8]
fmul qword [0x402e80]
fstp qword [ebp - 0xc8]
fnstsw ax
test al, 0xd
jne 0x40e759
mov dword [ebp - 4], 0x65
movzx cx, byte [ebp - 0xac]
and ecx, 0xffff00a2
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0xac], al
mov dword [ebp - 4], 0x66
mov ax, 0x3398
cwd
idiv word [ebp - 0x64]
mov word [ebp - 0x64], dx
mov dword [ebp - 4], 0x67
mov cx, word [ebp - 0x54]
imul cx, cx, 0x7542
jo 0x40e75e
mov word [ebp - 0x54], cx
mov dword [ebp - 4], 0x68
fild dword [ebp - 0x50]
fstp qword [ebp - 0x18c]
fld qword [ebp - 0x18c]
cmp dword [section..data], 0
jne 0x40e69f
fdiv qword [0x402e78]
jmp 0x40e6b0
push dword [0x402e7c]
push dword [0x402e78]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x40e759
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0x69
mov dx, word [ebp - 0xb8]
xor dx, 0x4cc3
mov word [ebp - 0xb8], dx
mov dword [ebp - 4], 0x6a
mov ax, 0xe64
sub ax, word [ebp - 0x24]
jo 0x40e75e
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 0x6b
fld qword [ebp - 0xc8]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov ecx, eax
mov eax, 0x8193d2
cdq
idiv ecx
mov dword [ebp - 0x190], edx
fild dword [ebp - 0x190]
fstp qword [ebp - 0xc8]
mov dword [ebp - 4], 0x6c
mov edx, dword [ebp - 0x9c]
imul edx, edx, 0xdb2666
jo 0x40e75e
mov dword [ebp - 0x9c], edx
mov dword [ebp - 4], 0x6d
call fcn.00406bf0
mov ecx, dword [ebp - 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x40309c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3