Function at 0x459a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, 1
push esi
mov ebx, eax
mov eax, dword [esp + 0x40]
push 0
mov esi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.00491650
add esp, 4
test eax, eax
jne 0x459e2d
mov edx, dword [esp + 0x44]
lea eax, [edi + 0x148bc]
push eax
lea ecx, [edi + 0x144bc]
push ecx
push 0xc4
push 0x3c
push edx
lea ecx, [edi + 0x13cbc]
mov eax, 0x424ff0
mov edx, edi
call fcn.0048fd80
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x459e2d
mov esi, ebx
call fcn.004597f0
cmp word [edi + 0x30a2], 0
je 0x459e36
cmp byte [edi + 0x140bc], 0
jne 0x459e36
mov esi, 3
mov dword [edi + 0x16164], esi
test ebp, ebp
je 0x459b5c
push 1
push str.xsd:int
push ebx
push str.template_id
push edi
call fcn.00493620
add esp, 0x14
test eax, eax
je 0x459b5c
dec ebp
jmp 0x459b35
cmp dword [esp + 0xc], 0
je 0x459b8e
mov eax, dword [edi + 0x16164]
cmp eax, esi
je 0x459b72
cmp eax, 6
jne 0x459b8e
lea eax, [ebx + 4]
push str.template_name
mov ecx, edi
call fcn.004301e0
add esp, 4
test eax, eax
je 0x459b8e
dec dword [esp + 0xc]
jmp 0x459b35
cmp dword [esp + 0x10], 0
je 0x459bc3
cmp dword [edi + 0x16164], esi
jne 0x459bc3
push 1
push str.xsd:int
lea eax, [ebx + 0x20]
push eax
push 0x62b1bc
push edi
call fcn.00493620
add esp, 0x14
test eax, eax
je 0x459bc3
dec dword [esp + 0x10]
jmp 0x459b35
cmp dword [esp + 0x14], 0
je 0x459bf8
mov eax, dword [edi + 0x16164]
cmp eax, esi
je 0x459bd9
cmp eax, 6
jne 0x459bf8
lea eax, [ebx + 0x24]
push str.group
mov ecx, edi
call fcn.004301e0
add esp, 4
test eax, eax
je 0x459bf8
dec dword [esp + 0x14]
jmp 0x459b35
cmp dword [esp + 0x18], 0
je 0x459c2d
mov eax, dword [edi + 0x16164]
cmp eax, esi
je 0x459c0e
cmp eax, 6
jne 0x459c2d
lea eax, [ebx + 0x40]
push str.groupname
mov ecx, edi
call fcn.004301e0
add esp, 4
test eax, eax
je 0x459c2d
dec dword [esp + 0x18]
jmp 0x459b35
cmp dword [esp + 0x1c], 0
je 0x459c62
mov eax, dword [edi + 0x16164]
cmp eax, esi
je 0x459c43
cmp eax, 6
jne 0x459c62
lea eax, [ebx + 0x5c]
push str.startdate
mov ecx, edi
call fcn.004301e0
add esp, 4
test eax, eax
je 0x459c62
dec dword [esp + 0x1c]
jmp 0x459b35
cmp dword [esp + 0x20], 0
je 0x459c97
mov eax, dword [edi + 0x16164]
cmp eax, esi
je 0x459c78
cmp eax, 6
jne 0x459c97
lea eax, [ebx + 0x78]
push str.enddate
mov ecx, edi
call fcn.004301e0
add esp, 4
test eax, eax
je 0x459c97
dec dword [esp + 0x20]
jmp 0x459b35
cmp dword [esp + 0x24], 0
je 0x459ccf
cmp dword [edi + 0x16164], esi
jne 0x459ccf
push 1
push str.xsd:int
lea ecx, [ebx + 0x94]
push ecx
push str.allcount
push edi
call fcn.00493620
add esp, 0x14
test eax, eax
je 0x459ccf
dec dword [esp + 0x24]
jmp 0x459b35
cmp dword [esp + 0x28], 0
je 0x459d07
cmp dword [edi + 0x16164], esi
jne 0x459d07
push 1
push str.xsd:int
lea edx, [ebx + 0x98]
push edx
push str.checkcount
push edi
call fcn.00493620
add esp, 0x14
test eax, eax
je 0x459d07
dec dword [esp + 0x28]
jmp 0x459b35
cmp dword [esp + 0x2c], 0
je 0x459d3f
cmp dword [edi + 0x16164], esi
jne 0x459d3f
push 1
push str.xsd:int
lea eax, [ebx + 0x9c]
push eax
push str.nocheckcount
push edi
call fcn.00493620
add esp, 0x14
test eax, eax
je 0x459d3f
dec dword [esp + 0x2c]
jmp 0x459b35
cmp dword [esp + 0x30], 0
je 0x459d77
cmp dword [edi + 0x16164], esi
jne 0x459d77
push 1
push str.xsd:int
lea ecx, [ebx + 0xa0]
push ecx
push str.passcount
push edi
call fcn.00493620
add esp, 0x14
test eax, eax
je 0x459d77
dec dword [esp + 0x30]
jmp 0x459b35
cmp dword [esp + 0x34], 0
je 0x459daf
cmp dword [edi + 0x16164], esi
jne 0x459daf
push 1
push str.xsd:int
lea edx, [ebx + 0xa4]
push edx
push str.failcount
push edi
call fcn.00493620
add esp, 0x14
test eax, eax
je 0x459daf
dec dword [esp + 0x34]
jmp 0x459b35
cmp dword [esp + 0x38], 0
je 0x459de7
mov eax, dword [edi + 0x16164]
cmp eax, esi
je 0x459dc5
cmp eax, 6
jne 0x459de7
lea eax, [ebx + 0xa8]
push str.noticetime
mov ecx, edi
call fcn.004301e0
add esp, 4
test eax, eax
je 0x459de7
dec dword [esp + 0x38]
jmp 0x459b35
cmp dword [edi + 0x16164], esi
jne 0x459dfe
push edi
call fcn.004236d0
add esp, 4
mov dword [edi + 0x16164], eax
mov eax, dword [edi + 0x16164]
cmp eax, 6
je 0x459e1a
test eax, eax
je 0x459b35
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x40]
push eax
mov esi, edi
call fcn.00491740
add esp, 4
test eax, eax
je 0x459e75
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
push 0x45a080
push 0xc4
push 0
push 0x3c
push 0
push ebx
lea eax, [edi + 0x140bc]
push edi
call fcn.0048fc40
add esp, 0x1c
cmp word [edi + 0x30a2], 0
mov ebx, eax
je 0x459e75
mov ecx, dword [esp + 0x40]
push ecx
mov esi, edi
call fcn.00491740
add esp, 4
test eax, eax
jne 0x459ee0
test dword [edi + 8], 0x1000
je 0x459ee9
test ebp, ebp
ja 0x459ed6
cmp dword [esp + 0xc], 0
ja 0x459ed6
cmp dword [esp + 0x10], 0
ja 0x459ed6
cmp dword [esp + 0x14], 0
ja 0x459ed6
cmp dword [esp + 0x18], 0
ja 0x459ed6
cmp dword [esp + 0x1c], 0
ja 0x459ed6
cmp dword [esp + 0x20], 0
ja 0x459ed6
cmp dword [esp + 0x24], 0
ja 0x459ed6
cmp dword [esp + 0x28], 0
ja 0x459ed6
cmp dword [esp + 0x2c], 0
ja 0x459ed6
cmp dword [esp + 0x30], 0
ja 0x459ed6
cmp dword [esp + 0x34], 0
ja 0x459ed6
cmp dword [esp + 0x38], 0
jbe 0x459ee9
mov dword [edi + 0x16164], 0x2c
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x30
ret