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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 4]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x30129a01
push eax
movzx eax, word [esi + 0x80]
push eax
push dword [edi + 0x68]
call fcn.3012d143
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 4], ebx
je 0x30129a1c
push eax
movzx eax, word [esi + 0x80]
push eax
push dword [edi + 0x3c]
call fcn.3012d143
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x30129a37
push eax
movzx eax, word [esi + 0x80]
push eax
push dword [edi + 0x70]
call fcn.3012d143
mov eax, dword [esi + 0x5c]
cmp eax, ebx
mov dword [esi + 0xc], ebx
je 0x30129a4a
push eax
push dword [edi + 0x34]
call fcn.3011a8e8
mov eax, dword [esi + 0x60]
cmp eax, ebx
mov dword [esi + 0x5c], ebx
je 0x30129a5d
push eax
push dword [edi + 0x38]
call fcn.3011a8e8
test byte [esi + 0x70], 8
mov dword [esi + 0x60], ebx
je 0x30129bb4
movzx ecx, word [esi + 0x3c]
movzx eax, word [esi + 0x3e]
movzx ebx, word [esi + 0x42]
add eax, ecx
movzx ecx, word [esi + 0x40]
add ebx, ecx
test eax, eax
mov dword [ebp - 4], eax
jle 0x30129b7c
mov eax, dword [esi + 0x10]
test eax, eax
je 0x30129a9a
push eax
push ebx
push dword [edi + 0x48]
call fcn.3012d143
mov eax, dword [esi + 0x14]
and dword [esi + 0x10], 0
test eax, eax
je 0x30129ab2
push eax
push ebx
push dword [edi + 0x84]
call fcn.3012d143
mov eax, dword [esi + 0x18]
and dword [esi + 0x14], 0
test eax, eax
je 0x30129ac7
push eax
push ebx
push dword [edi + 0x7c]
call fcn.3012d143
mov eax, dword [esi + 0x1c]
and dword [esi + 0x18], 0
test eax, eax
je 0x30129adc
push eax
push ebx
push dword [edi + 0x78]
call fcn.3012d143
mov eax, dword [esi + 0x20]
and dword [esi + 0x1c], 0
test eax, eax
je 0x30129af4
push eax
push ebx
push dword [edi + 0x80]
call fcn.3012d143
mov eax, dword [esi + 0x24]
and dword [esi + 0x20], 0
test eax, eax
je 0x30129b09
push eax
push ebx
push dword [edi + 0x4c]
call fcn.3012d143
mov eax, dword [esi + 0x28]
and dword [esi + 0x24], 0
test eax, eax
je 0x30129b1e
push eax
push ebx
push dword [edi + 0x50]
call fcn.3012d143
mov eax, dword [esi + 0x2c]
and dword [esi + 0x28], 0
test eax, eax
je 0x30129b35
push eax
push dword [ebp - 4]
push dword [edi + 0x58]
call fcn.3012d143
mov eax, dword [esi + 0x30]
and dword [esi + 0x2c], 0
test eax, eax
je 0x30129b4c
push eax
push dword [ebp - 4]
push dword [edi + 0x5c]
call fcn.3012d143
mov eax, dword [esi + 0x34]
and dword [esi + 0x30], 0
test eax, eax
je 0x30129b61
push eax
push ebx
push dword [edi + 0x60]
call fcn.3012d143
mov eax, dword [esi + 0x38]
and dword [esi + 0x34], 0
test eax, eax
je 0x30129b78
push eax
push dword [ebp - 4]
push dword [edi + 0x74]
call fcn.3012d143
and dword [esi + 0x38], 0
movzx eax, word [esi + 0x5a]
movzx ecx, word [esi + 0x58]
and word [esi + 0x3c], 0
and word [esi + 0x3e], 0
add eax, ecx
test eax, eax
jle 0x30129ba5
push eax
push dword [edi + 0xdc]
lea eax, [esi + 0x44]
push eax
push edi
call fcn.3013c01f
and word [esi + 0x5a], 0
and word [esi + 0x58], 0
jmp 0x30129c4f
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x30129bcc
push eax
movzx eax, word [esi + 0x80]
push eax
push dword [edi + 0x40]
call fcn.3012d143
movzx eax, word [esi + 0x22]
mov dword [esi + 0x10], ebx
movzx ebx, word [esi + 0x20]
add ebx, eax
test ebx, ebx
jle 0x30129c1c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x30129bee
push eax
push ebx
push dword [edi + 0x7c]
call fcn.3012d143
mov eax, dword [esi + 0x18]
and dword [esi + 0x14], 0
test eax, eax
je 0x30129c03
push eax
push ebx
push dword [edi + 0x78]
call fcn.3012d143
mov eax, dword [esi + 0x1c]
and dword [esi + 0x18], 0
test eax, eax
je 0x30129c18
push eax
push ebx
push dword [edi + 0x74]
call fcn.3012d143
and dword [esi + 0x1c], 0
movzx eax, word [esi + 0x3a]
movzx ecx, word [esi + 0x38]
and word [esi + 0x22], 0
and word [esi + 0x20], 0
add eax, ecx
test eax, eax
jle 0x30129c45
push eax
push dword [edi + 0xdc]
lea eax, [esi + 0x24]
push eax
push edi
call fcn.3013c01f
and word [esi + 0x3a], 0
and word [esi + 0x38], 0
xor eax, eax
mov word [esi + 0x7e], ax
mov word [esi + 0x7c], ax
mov word [esi + 0x80], ax
pop ebx
leave
ret