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

Disassembly:
push ebp
push ebx
mov edx, 0x1e
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x1001390f
lea edx, str.tons
lea ecx, [esp + 0x38]
call fcn.10031008
mov ebx, dword [0x10041f8c]
and ebx, ebx
jne 0x100139be
call fcn.1000f35a
mov dword [0x10041f8c], eax
mov word [esp + 0x3c], 1
movzx ebx, word [esp + 0x3c]
mov eax, 1
cmp ebx, eax
jl 0x10013967
movzx ebx, word [esp + 0x3c]
dec ebx
push ebx
pop eax
mov word [esp + 0x40], ax
jmp 0x10013974
movzx ebx, word [esp + 0x3c]
inc ebx
push ebx
pop eax
mov word [esp + 0x40], ax
movzx ebx, word [esp + 0x40]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x1001398e
add esp, 4
jmp 0x10013e99
mov ebx, 6
cmp ebx, dword [esp]
jne 0x100139a6
movzx eax, word [esp + 0x44]
push eax
pop eax
mov word [esp + 0x40], ax
jmp 0x100139bd
mov ebx, 5
cmp ebx, dword [esp]
jne 0x100139bd
movzx ebx, word [esp + 0x44]
inc ebx
push ebx
pop eax
mov word [esp + 0x40], ax
pop eax
lea edx, str.warm
lea ecx, [esp + 0x44]
call fcn.10031008
push dword [0x10041f8c]
pop eax
mov dword [esp], eax
mov word [esp + 0x48], 0xa
movzx ebx, word [esp + 0x48]
mov eax, 5
cmp ebx, eax
jl 0x100139fb
movzx ebx, word [esp + 0x48]
dec ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
jmp 0x10013a08
movzx ebx, word [esp + 0x48]
inc ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
movzx ebx, word [esp + 0x4c]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x10013a22
add esp, 4
jmp 0x10013e99
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013a3a
movzx eax, word [esp + 0x50]
push eax
pop eax
mov word [esp + 0x4c], ax
jmp 0x10013a51
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10013a51
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x4c], ax
pop eax
cmp dword [esp], 0
je 0x10013e8d
mov word [esp + 0x50], 4
movzx ebx, word [esp + 0x50]
mov eax, 2
cmp ebx, eax
jl 0x10013a80
movzx ebx, word [esp + 0x50]
dec ebx
push ebx
pop eax
mov word [esp + 0x54], ax
jmp 0x10013a8d
movzx ebx, word [esp + 0x50]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
movzx ebx, word [esp + 0x54]
push ebx
mov ebx, 0x11
cmp ebx, dword [esp]
jne 0x10013aa7
add esp, 4
jmp 0x10013e99
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10013abf
movzx eax, word [esp + 0x58]
push eax
pop eax
mov word [esp + 0x54], ax
jmp 0x10013ad6
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013ad6
movzx ebx, word [esp + 0x58]
inc ebx
push ebx
pop eax
mov word [esp + 0x54], ax
pop eax
mov ebp, dword [esp]
mov ebp, dword [ebp + 0xc]
push dword [ebp + 0x14]
pop eax
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 0x13fc6433
mov dword [esp + 0x20], 0x6fecd133
mov dword [esp + 0x2c], 0xbdfb28cb
mov dword [esp + 0x34], 0x537c8be7
mov word [esp + 0x58], 7
movzx ebx, word [esp + 0x58]
mov eax, 4
cmp ebx, eax
jl 0x10013b29
movzx ebx, word [esp + 0x58]
dec ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
jmp 0x10013b36
movzx ebx, word [esp + 0x58]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
movzx ebx, word [esp + 0x5c]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x10013b50
add esp, 4
jmp 0x10013e99
mov ebx, 6
cmp ebx, dword [esp]
jne 0x10013b68
movzx eax, word [esp + 0x60]
push eax
pop eax
mov word [esp + 0x5c], ax
jmp 0x10013b7f
mov ebx, 3
cmp ebx, dword [esp]
jne 0x10013b7f
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x5c], ax
pop eax
movsx ebx, byte [0x10041fd5]
and ebx, ebx
jne 0x10013c3b
mov dword [esp + 0x18], 0x16430105
mov dword [esp + 0x24], 0xb8493040
mov word [esp + 0x60], 3
movzx ebx, word [esp + 0x60]
mov eax, 1
cmp ebx, eax
jl 0x10013bc3
movzx ebx, word [esp + 0x60]
dec ebx
push ebx
pop eax
mov word [esp + 0x64], ax
jmp 0x10013bd0
movzx ebx, word [esp + 0x60]
inc ebx
push ebx
pop eax
mov word [esp + 0x64], ax
movzx ebx, word [esp + 0x64]
push ebx
mov ebx, 0xf
cmp ebx, dword [esp]
jne 0x10013bea
add esp, 4
jmp 0x10013e99
mov ebx, 9
cmp ebx, dword [esp]
jne 0x10013c02
movzx eax, word [esp + 0x68]
push eax
pop eax
mov word [esp + 0x64], ax
jmp 0x10013c19
mov ebx, 5
cmp ebx, dword [esp]
jne 0x10013c19
movzx ebx, word [esp + 0x68]
inc ebx
push ebx
pop eax
mov word [esp + 0x64], ax
pop eax
mov dword [esp + 0x28], 0xc1f0e464
lea edx, str.modifications
lea ecx, [esp + 0x68]
call fcn.10031008
mov dword [esp + 0x30], 0x5cd99d52
jmp 0x10013c6a
mov dword [esp + 0x18], 0xc9ce6516
mov dword [esp + 0x24], 0x67c45453
mov dword [esp + 0x28], 0x1e7d8077
mov dword [esp + 0x30], 0x1c13af42
lea edx, str.resources
lea ecx, [esp + 0x6c]
call fcn.10031008
mov word [esp + 0x70], 5
movzx ebx, word [esp + 0x70]
mov eax, 3
cmp ebx, eax
jl 0x10013c8e
movzx ebx, word [esp + 0x70]
dec ebx
push ebx
pop eax
mov word [esp + 0x74], ax
jmp 0x10013c9b
movzx ebx, word [esp + 0x70]
inc ebx
push ebx
pop eax
mov word [esp + 0x74], ax
movzx ebx, word [esp + 0x74]
push ebx
mov ebx, 0xa
cmp ebx, dword [esp]
jne 0x10013cb5
add esp, 4
jmp 0x10013e99
mov ebx, 4
cmp ebx, dword [esp]
jne 0x10013ccd
movzx eax, word [esp + 0x78]
push eax
pop eax
mov word [esp + 0x74], ax
jmp 0x10013ce4
mov ebx, 2
cmp ebx, dword [esp]
jne 0x10013ce4
movzx ebx, word [esp + 0x78]
inc ebx
push ebx
pop eax
mov word [esp + 0x74], ax
pop eax
cmp dword [esp + 4], 0
je 0x10013d11
mov ebp, dword [esp]
mov ebp, dword [ebp + 0xc]
lea eax, [ebp + 0x14]
mov ebx, eax
cmp ebx, dword [esp + 4]
jne 0x10013d01
xor eax, eax
jmp 0x10013d06
mov eax, 1
and eax, eax
je 0x10013d11
mov eax, 1
jmp 0x10013d13
xor eax, eax
and eax, eax
je 0x10013e8d
mov ebx, dword [esp + 4]
add ebx, 0xfffffff8
mov dword [esp + 8], ebx
mov ebp, dword [esp + 8]
cmp dword [ebp + 0x30], 0
je 0x10013d42
mov ebp, dword [esp + 8]
cmp word [ebp + 0x2c], 0
je 0x10013d42
mov eax, 1
jmp 0x10013d44
xor eax, eax
and eax, eax
je 0x10013e7c
push dword [0x10043918]
push dword [0x10043918]
push dword [0x10043918]
push 0x19
mov ebp, dword [esp + 0x18]
movsx eax, word [ebp + 0x2c]
push eax
mov ebp, dword [esp + 0x1c]
push dword [ebp + 0x30]
call fcn.10037970
mov edx, dword [0x10040b7c]
add dword [esp], edx
call fcn.10017225
lea eax, [esp + 0x10]
push eax
call fcn.10037dc0
mov edx, dword [esp + 0xc]
xor ecx, ecx
call fcn.100311d0
jne 0x10013e7c
push dword [esp + 0xc]
call fcn.10009614
mov dword [esp + 0x14], eax
push dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp]
jne 0x10013dcd
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
mov ebx, dword [esp + 0x20]
cmp ebx, dword [esp]
jne 0x10013de5
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esp]
jne 0x10013dfd
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp]
jne 0x10013e12
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
mov ebx, dword [esp + 0x2c]
cmp ebx, dword [esp]
jne 0x10013e27
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
mov ebx, dword [esp + 0x30]
cmp ebx, dword [esp]
jne 0x10013e3c
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
mov ebx, dword [esp + 0x34]
cmp ebx, dword [esp]
jne 0x10013e51
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp]
jne 0x10013e64
mov byte [esp + 0x14], 1
add esp, 4
jmp 0x10013e8d
pop eax
mov dword [esp + 0x14], 0
lea edx, [0x1003e03e]
lea ecx, [esp + 0xc]
call fcn.10031008
mov ebp, dword [esp + 4]
push dword [ebp]
pop eax
mov dword [esp + 4], eax
jmp 0x10013ce5
movsx eax, byte [esp + 0x10]
movsx eax, al
jmp 0x10013e99
push dword [esp + 0xc]
call fcn.10037d30
push dword [esp + 0x44]
call fcn.10037d30
push dword [esp + 0x38]
call fcn.10037d30
push dword [esp + 0x6c]
call fcn.10037d30
push dword [esp + 0x68]
call fcn.10037d30
add esp, 0x78
pop ebx
pop ebp
ret