Function at 0x407030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4015d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401388
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], edi
jne 0x407082
mov edx, 0x4038fc
jmp 0x407cb3
cmp eax, 2
jne 0x407091
mov edx, 0x403920
jmp 0x407cb3
cmp eax, 3
jne 0x4070a0
mov edx, 0x403934
jmp 0x407cb3
cmp eax, 4
jne 0x4070af
mov edx, 0x403948
jmp 0x407cb3
cmp eax, 5
jne 0x4070be
mov edx, 0x40395c
jmp 0x407cb3
cmp eax, 6
jne 0x4070cd
mov edx, 0x403974
jmp 0x407cb3
cmp eax, 7
jne 0x407106
lea ecx, [ebp - 0x3c]
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0x4003
call dword [sym.imp.MSVBVM60.DLL_rtcHexBstrFromVar]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push 0x40398c
jmp 0x407bd5
cmp eax, 8
jne 0x407115
mov edx, 0x4039b8
jmp 0x407cb3
cmp eax, 9
jne 0x407124
mov edx, 0x4039c8
jmp 0x407cb3
cmp eax, 0xa
jl 0x407162
cmp eax, 0xb
jg 0x407162
lea ecx, [ebp - 0x3c]
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0x4003
call dword [sym.imp.MSVBVM60.DLL_rtcHexBstrFromVar]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push 0x4039d4
jmp 0x407bd5
cmp eax, 0xc
jne 0x407171
mov edx, 0x4039f0
jmp 0x407cb3
cmp eax, 0xd
jne 0x407180
mov edx, 0x403a00
jmp 0x407cb3
cmp eax, 0xe
jl 0x40718e
cmp eax, 0xf
jle 0x4070d2
cmp eax, 0x10
jne 0x40719d
mov edx, 0x403a14
jmp 0x407cb3
cmp eax, 0x11
jne 0x4071ac
mov edx, 0x403a24
jmp 0x407cb3
cmp eax, 0x12
jne 0x4071bb
mov edx, 0x403a38
jmp 0x407cb3
cmp eax, 0x13
jne 0x4071ca
mov edx, 0x403a48
jmp 0x407cb3
cmp eax, 0x14
jne 0x4071d9
mov edx, 0x403a58
jmp 0x407cb3
cmp eax, 0x15
jne 0x4071e8
mov edx, 0x403a6c
jmp 0x407cb3
cmp eax, 0x16
je 0x4070d2
cmp eax, 0x17
jne 0x407200
mov edx, 0x403aa4
jmp 0x407cb3
cmp eax, 0x18
jne 0x40720f
mov edx, 0x403ab4
jmp 0x407cb3
cmp eax, 0x19
jne 0x40721e
mov edx, 0x403910
jmp 0x407cb3
cmp eax, 0x1a
je 0x4070d2
cmp eax, 0x1b
jne 0x407236
mov edx, 0x403ad8
jmp 0x407cb3
cmp eax, 0x1c
jne 0x407245
mov edx, 0x403aec
jmp 0x407cb3
cmp eax, 0x1d
jne 0x407254
mov edx, 0x403b00
jmp 0x407cb3
cmp eax, 0x1e
jne 0x407263
mov edx, 0x403b1c
jmp 0x407cb3
cmp eax, 0x1f
jne 0x407272
mov edx, 0x403b30
jmp 0x407cb3
cmp eax, 0x20
jne 0x407281
mov edx, 0x403b4c
jmp 0x407cb3
cmp eax, 0x21
jne 0x407290
mov edx, 0x403b5c
jmp 0x407cb3
cmp eax, 0x22
jne 0x40729f
mov edx, 0x403b6c
jmp 0x407cb3
cmp eax, 0x23
jne 0x4072ae
mov edx, 0x403b7c
jmp 0x407cb3
cmp eax, 0x24
jne 0x4072bd
mov edx, 0x403b88
jmp 0x407cb3
cmp eax, 0x25
jne 0x4072cc
mov edx, 0x403b98
jmp 0x407cb3
cmp eax, 0x26
jne 0x4072db
mov edx, 0x403ba8
jmp 0x407cb3
cmp eax, 0x27
jne 0x4072ea
mov edx, 0x403bb4
jmp 0x407cb3
cmp eax, 0x28
jne 0x4072f9
mov edx, 0x403bc4
jmp 0x407cb3
cmp eax, 0x29
jne 0x407308
mov edx, 0x403bd4
jmp 0x407cb3
cmp eax, 0x2a
jne 0x407317
mov edx, 0x403be8
jmp 0x407cb3
cmp eax, 0x2b
jne 0x407326
mov edx, 0x403bf8
jmp 0x407cb3
cmp eax, 0x2c
jne 0x407335
mov edx, 0x403c0c
jmp 0x407cb3
cmp eax, 0x2d
jne 0x407344
mov edx, 0x403c24
jmp 0x407cb3
cmp eax, 0x2e
jne 0x407353
mov edx, 0x403c38
jmp 0x407cb3
cmp eax, 0x2f
jne 0x407362
mov edx, 0x403c4c
jmp 0x407cb3
cmp eax, 0x30
jne 0x407371
mov edx, 0x403c5c
jmp 0x407cb3
cmp eax, 0x31
jne 0x407380
mov edx, 0x4035ac
jmp 0x407cb3
cmp eax, 0x32
jne 0x40738f
mov edx, 0x403748
jmp 0x407cb3
cmp eax, 0x33
jne 0x40739e
mov edx, 0x402ec0
jmp 0x407cb3
cmp eax, 0x34
jne 0x4073ad
mov edx, 0x403c64
jmp 0x407cb3
cmp eax, 0x35
jne 0x4073bc
mov edx, 0x403c6c
jmp 0x407cb3
cmp eax, 0x36
jne 0x4073cb
mov edx, 0x403c74
jmp 0x407cb3
cmp eax, 0x37
jne 0x4073da
mov edx, 0x403c7c
jmp 0x407cb3
cmp eax, 0x38
jne 0x4073e9
mov edx, 0x403c84
jmp 0x407cb3
cmp eax, 0x39
jne 0x4073f8
mov edx, 0x403c8c
jmp 0x407cb3
cmp eax, 0x3a
jl 0x407406
cmp eax, 0x40
jle 0x4070d2
cmp eax, 0x41
jne 0x407415
mov edx, 0x403c94
jmp 0x407cb3
cmp eax, 0x42
jne 0x407424
mov edx, 0x403c9c
jmp 0x407cb3
cmp eax, 0x43
jne 0x407433
mov edx, 0x403ca4
jmp 0x407cb3
cmp eax, 0x44
jne 0x407442
mov edx, 0x403cac
jmp 0x407cb3
cmp eax, 0x45
jne 0x407451
mov edx, 0x403cb4
jmp 0x407cb3
cmp eax, 0x46
jne 0x407460
mov edx, 0x403cbc
jmp 0x407cb3
cmp eax, 0x47
jne 0x40746f
mov edx, 0x403cc4
jmp 0x407cb3
cmp eax, 0x48
jne 0x40747e
mov edx, 0x403ccc
jmp 0x407cb3
cmp eax, 0x49
jne 0x40748d
mov edx, 0x403cd4
jmp 0x407cb3
cmp eax, 0x4a
jne 0x40749c
mov edx, 0x403cdc
jmp 0x407cb3
cmp eax, 0x4b
jne 0x4074ab
mov edx, 0x403ce4
jmp 0x407cb3
cmp eax, 0x4c
jne 0x4074ba
mov edx, 0x403cec
jmp 0x407cb3
cmp eax, 0x4d
jne 0x4074c9
mov edx, 0x403cf4
jmp 0x407cb3
cmp eax, 0x4e
jne 0x4074d8
mov edx, 0x403cfc
jmp 0x407cb3
cmp eax, 0x4f
jne 0x4074e7
mov edx, 0x403d04
jmp 0x407cb3
cmp eax, 0x50
jne 0x4074f6
mov edx, 0x403d0c
jmp 0x407cb3
cmp eax, 0x51
jne 0x407505
mov edx, 0x403d14
jmp 0x407cb3
cmp eax, 0x52
jne 0x407514
mov edx, 0x403d1c
jmp 0x407cb3
cmp eax, 0x53
jne 0x407523
mov edx, 0x403d24
jmp 0x407cb3
cmp eax, 0x54
jne 0x407532
mov edx, 0x403d2c
jmp 0x407cb3
cmp eax, 0x55
jne 0x407541
mov edx, 0x403d34
jmp 0x407cb3
cmp eax, 0x56
jne 0x407550
mov edx, 0x403d3c
jmp 0x407cb3
cmp eax, 0x57
jne 0x40755f
mov edx, 0x403d44
jmp 0x407cb3
cmp eax, 0x58
jne 0x40756e
mov edx, 0x403d4c
jmp 0x407cb3
cmp eax, 0x59
jne 0x40757d
mov edx, 0x403d54
jmp 0x407cb3
cmp eax, 0x5a
jne 0x40758c
mov edx, 0x403d5c
jmp 0x407cb3
cmp eax, 0x5b
jne 0x40759b
mov edx, 0x403d64
jmp 0x407cb3
cmp eax, 0x5c
jne 0x4075aa
mov edx, 0x403d74
jmp 0x407cb3
cmp eax, 0x5d
jne 0x4075b9
mov edx, 0x403d84
jmp 0x407cb3
cmp eax, 0x5e
je 0x40712e
cmp eax, 0x5f
jne 0x4075d1
mov edx, 0x403d94
jmp 0x407cb3
cmp eax, 0x60
jne 0x4075e0
mov edx, 0x403da4
jmp 0x407cb3
cmp eax, 0x61
jne 0x4075ef
mov edx, 0x403db8
jmp 0x407cb3
cmp eax, 0x62
jne 0x4075fe
mov edx, 0x403dcc
jmp 0x407cb3
cmp eax, 0x63
jne 0x40760d
mov edx, 0x403de0
jmp 0x407cb3
cmp eax, 0x64
jne 0x40761c
mov edx, 0x403df4
jmp 0x407cb3
cmp eax, 0x65
jne 0x40762b
mov edx, 0x403e08
jmp 0x407cb3
cmp eax, 0x66
jne 0x40763a
mov edx, 0x403e1c
jmp 0x407cb3
cmp eax, 0x67
jne 0x407649
mov edx, 0x403e30
jmp 0x407cb3
cmp eax, 0x68
jne 0x407658
mov edx, 0x403e44
jmp 0x407cb3
cmp eax, 0x69
jne 0x407667
mov edx, 0x403e58
jmp 0x407cb3
cmp eax, 0x6a
jne 0x407676
mov edx, 0x403e6c
jmp 0x407cb3
cmp eax, 0x6b
jne 0x407685
mov edx, 0x403e84
jmp 0x407cb3
cmp eax, 0x6c
jne 0x407694
mov edx, 0x403e90
jmp 0x407cb3
cmp eax, 0x6d
jne 0x4076a3
mov edx, 0x403ea8
jmp 0x407cb3
cmp eax, 0x6e
jne 0x4076b2
mov edx, 0x403ec0
jmp 0x407cb3
cmp eax, 0x6f
jne 0x4076c1
mov edx, 0x403ed4
jmp 0x407cb3
cmp eax, 0x70
jne 0x4076d0
mov edx, 0x403ee8
jmp 0x407cb3
cmp eax, 0x71
jne 0x4076df
mov edx, 0x403ef4
jmp 0x407cb3
cmp eax, 0x72
jne 0x4076ee
mov edx, 0x403f00
jmp 0x407cb3
cmp eax, 0x73
jne 0x4076fd
mov edx, 0x403f0c
jmp 0x407cb3
cmp eax, 0x74
jne 0x40770c
mov edx, 0x403f18
jmp 0x407cb3
cmp eax, 0x75
jne 0x40771b
mov edx, 0x403f24
jmp 0x407cb3
cmp eax, 0x76
jne 0x40772a
mov edx, 0x403f30
jmp 0x407cb3
cmp eax, 0x77
jne 0x407739
mov edx, 0x403f3c
jmp 0x407cb3
cmp eax, 0x78
jne 0x407748
mov edx, 0x403f48
jmp 0x407cb3
cmp eax, 0x79
jne 0x407757
mov edx, 0x403f54
jmp 0x407cb3
cmp eax, 0x7a
jne 0x407766
mov edx, 0x403f60
jmp 0x407cb3
cmp eax, 0x7b
jne 0x407775
mov edx, 0x403f6c
jmp 0x407cb3
cmp eax, 0x7c
jne 0x407784
mov edx, 0x403f78
jmp 0x407cb3
cmp eax, 0x7d
jne 0x407793
mov edx, 0x403f84
jmp 0x407cb3
cmp eax, 0x7e
jne 0x4077a2
mov edx, 0x403f90
jmp 0x407cb3
cmp eax, 0x7f
jne 0x4077b1
mov edx, 0x403f9c
jmp 0x407cb3
cmp eax, 0x80
jne 0x4077c2
mov edx, 0x403fa8
jmp 0x407cb3
cmp eax, 0x81
jne 0x4077d3
mov edx, 0x403fb4
jmp 0x407cb3
cmp eax, 0x82
jne 0x4077e4
mov edx, 0x403fc0
jmp 0x407cb3
cmp eax, 0x83
jne 0x4077f5
mov edx, 0x403fcc
jmp 0x407cb3
cmp eax, 0x84
jne 0x407806
mov edx, 0x403fd8
jmp 0x407cb3
cmp eax, 0x85
jne 0x407817
mov edx, 0x403fe4
jmp 0x407cb3
cmp eax, 0x86
jne 0x407828
mov edx, 0x403ff0
jmp 0x407cb3
cmp eax, 0x87
jne 0x407839
mov edx, 0x403ffc
jmp 0x407cb3
cmp eax, 0x88
jl 0x40784b
cmp eax, 0x8f
jle 0x407ba6
cmp eax, 0x90
jne 0x40785c
push 2
push 0x4039ac
lea ecx, [ebp - 0x20]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharBstr]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
jmp 0x407cbc
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x407d04
jmp 0x407cfa
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret