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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
xor ebx, ebx
push edi
push ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
call fcn.100d2010
add esp, 4
test eax, eax
jg 0x10146896
push str.xsltFormatNumberConversion_:_Invalid_format__0_length__n
push ebx
push ebx
push ebx
call fcn.100ff400
add esp, 0x10
mov edi, dword [esp + 0x74]
fld qword [esp + 0x6c]
sub esp, 8
fstp qword [esp]
mov dword [edi], ebx
call fcn.100e7e30
mov esi, dword [esp + 0x6c]
add esp, 8
cmp eax, 0xffffffff
je 0x101471b5
cmp eax, 1
je 0x101471ce
fld qword [esp + 0x6c]
sub esp, 8
fstp qword [esp]
call fcn.100e7e10
add esp, 8
test eax, eax
je 0x10146915
mov eax, esi
cmp eax, ebx
je 0x101468fc
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x101468fc
push eax
call fcn.100d1d20
add esp, 4
mov dword [edi], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
push 0x101782c4
call fcn.100d1d20
add esp, 4
mov dword [edi], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
call fcn.100c5db0
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x1014692f
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x50
ret
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
push eax
lea edi, [esp + 0x18]
mov ebx, esi
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x40], ebp
call fcn.10146720
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jl 0x10146e30
mov ecx, dword [ebx + 0x20]
push ecx
call fcn.100d2010
mov esi, dword [esp + 0x18]
add esp, 4
cmp byte [esi], 0
mov dword [esp + 0x28], eax
je 0x10146aa4
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x1c]
call fcn.10145330
test eax, eax
je 0x10146a9c
mov eax, dword [ebx + 0xc]
call fcn.10145330
test eax, eax
je 0x10146a9c
test ebp, ebp
je 0x101469da
mov dword [esp + 0x58], ebp
xor ebp, ebp
mov byte [esp + 0x5d], 1
mov dword [esp + 0x18], ebp
mov eax, dword [ebx + 8]
call fcn.10145330
test eax, eax
jne 0x101469fb
cmp dword [esp + 0x48], eax
jg 0x10146e28
inc dword [esp + 0x44]
test edi, edi
jl 0x10146a75
inc edi
jmp 0x10146a75
mov eax, dword [ebx + 0x2c]
call fcn.10145330
test eax, eax
jne 0x10146a12
inc dword [esp + 0x48]
test edi, edi
jl 0x10146a75
inc edi
jmp 0x10146a75
cmp dword [esp + 0x28], 0
jle 0x10146a37
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
push edx
push eax
push esi
call fcn.100d1ed0
add esp, 0xc
test eax, eax
jne 0x10146a37
xor edi, edi
add esi, dword [esp + 0x28]
jmp 0x10146a93
mov eax, dword [ebx + 0x24]
call fcn.10145330
test eax, eax
jne 0x10146a57
cmp byte [esp + 0x5d], al
jne 0x10146e28
mov dword [esp + 0x18], 0x64
jmp 0x10146a75
mov eax, dword [ebx + 0x28]
call fcn.10145330
test eax, eax
jne 0x10146a9c
cmp byte [esp + 0x5d], al
jne 0x10146e28
mov dword [esp + 0x18], 0x3e8
mov eax, esi
call fcn.10145300
cmp eax, 1
mov dword [esp + 0x1c], eax
jl 0x10146e28
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x18]
add esi, eax
cmp byte [esi], 0
jne 0x101469a7
mov dword [esp + 0x54], edi
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 0x1c]
call fcn.10145330
test eax, eax
jne 0x10146ac2
mov eax, esi
mov byte [esp + 0x5c], 1
call fcn.10145300
add esi, eax
mov dword [esp + 0x14], esi
cmp byte [esi], 0
je 0x10146cde
mov edi, dword [esp + 0x50]
mov ebp, 0x64
jmp 0x10146ae4
mov ebx, dword [esp + 0x64]
mov eax, dword [ebx + 0x2c]
call fcn.10145330
test eax, eax
jne 0x10146afe
test edi, edi
jne 0x10146e30
inc dword [esp + 0x4c]
jmp 0x10146b77
mov eax, dword [ebx + 8]
call fcn.10145330
test eax, eax
jne 0x10146b11
inc edi
mov dword [esp + 0x50], edi
jmp 0x10146b77
mov eax, dword [ebx + 0x24]
call fcn.10145330
test eax, eax
jne 0x10146b47
cmp byte [esp + 0x5d], al
jne 0x10146e30
mov dword [esp + 0x18], ebp
mov eax, esi
call fcn.10145300
cmp eax, 1
mov dword [esp + 0x1c], eax
jl 0x10146e30
add esi, eax
mov dword [esp + 0x14], esi
jmp 0x10146baa
mov eax, dword [ebx + 0x28]
call fcn.10145330
test eax, eax
jne 0x10146b67
cmp byte [esp + 0x5d], al
jne 0x10146e30
mov dword [esp + 0x18], 0x3e8
jmp 0x10146b2b
mov eax, dword [ebx + 0x20]
call fcn.10145330
test eax, eax
jne 0x10146cde
mov eax, esi
call fcn.10145300
cmp eax, 1
mov dword [esp + 0x1c], eax
jl 0x10146e30
mov ecx, dword [esp + 0x18]
add esi, eax
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x10146baa
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], 0
mov byte [esp + 0x5d], 1
cmp byte [esi], 0
jne 0x10146ae0
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x18], 0
je 0x10146bcc
sub esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x44]
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.10146720
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
jl 0x10146e30
mov esi, dword [esp + 0x14]
cmp byte [esi], 0
je 0x10146c06
mov eax, dword [ebx + 0xc]
call fcn.10145330
test eax, eax
jne 0x10146e30
fldz
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x10146dd1
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.100d2560
add esp, 8
test eax, eax
jl 0x10146e90
mov ecx, dword [esp + 0x68]
inc eax
push eax
push ecx
call fcn.100d2510
lea edx, [esp + 0x4c]
push edx
lea edi, [esp + 0x20]
mov dword [esp + 0x20], eax
mov byte [esp + 0x6a], 1
mov byte [esp + 0x69], 0
mov dword [esp + 0x40], eax
call fcn.10146720
mov ebp, eax
add esp, 0xc
test ebp, ebp
jl 0x10146e30
mov esi, dword [esp + 0x14]
cmp byte [esi], 0
je 0x10146d24
mov ebx, dword [esp + 0x64]
lea ebx, [ebx]
mov eax, dword [ebx + 0x24]
call fcn.10145330
test eax, eax
je 0x10146ce7
mov eax, dword [ebx + 0x28]
call fcn.10145330
test eax, eax
je 0x10146ce7
mov eax, dword [ebx + 0x2c]
call fcn.10145330
test eax, eax
je 0x10146cd4
mov eax, dword [ebx + 8]
call fcn.10145330
test eax, eax
je 0x10146cd4
mov eax, dword [ebx + 0x1c]
call fcn.10145330
test eax, eax
je 0x10146cd4
mov eax, dword [ebx + 0x20]
call fcn.10145330
test eax, eax
je 0x10146cd4
mov eax, dword [ebx + 0xc]
call fcn.10145330
test eax, eax
jne 0x10146d24
mov dword [esp + 0x18], 0
jmp 0x10146cff
mov eax, dword [esp + 0x1c]
jmp 0x10146bb7
cmp byte [esp + 0x5d], 0
jne 0x10146e30
mov byte [esp + 0x5d], 1
mov dword [esp + 0x18], 1
mov eax, esi
call fcn.10145300
cmp eax, 1
mov dword [esp + 0x1c], eax
jl 0x10146e30
add esi, eax
cmp byte [esi], 0
mov dword [esp + 0x14], esi
jne 0x10146c80
jmp 0x10146d2c
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x18], 0
je 0x10146d3e
sub esi, eax
mov byte [esp + 0x5d], 0
mov dword [esp + 0x14], esi
cmp byte [esi], 0
je 0x10146d68
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x18]
mov dword [esp + 0x34], esi
call fcn.10146720
mov edi, eax
add esp, 4
test edi, edi
jl 0x10146e30
mov esi, dword [esp + 0x14]
jmp 0x10146d6a
xor edi, edi
cmp byte [esi], 0
jne 0x10146e30
mov eax, dword [esp + 0x24]
cmp ebp, eax
jne 0x10146db9
mov esi, dword [esp + 0x28]
cmp edi, esi
jne 0x10146db9
test ebp, ebp
jle 0x10146d9e
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.100d1ed0
add esp, 0xc
test eax, eax
jne 0x10146db9
test edi, edi
jle 0x10146dd1
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push esi
push eax
push ecx
call fcn.100d1ed0
add esp, 0xc
test eax, eax
je 0x10146dd1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x10146ed9
mov ebx, dword [esp + 0x3c]
lea esp, [esp]
mov al, byte [ebx]
inc ebx
mov byte [esp + 0x13], al
cmp al, 0x27
jne 0x10146eba
mov eax, ebx
call fcn.10145300
mov ecx, dword [esp + 0x20]
push eax
push ebx
push ecx
mov dword [esp + 0x28], eax
call fcn.100c61c0
mov eax, dword [esp + 0x28]
add esp, 0xc
add ebx, eax
lea esi, [esi + eax - 1]
jmp 0x10146ece
mov dword [esp + 0x54], edi
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x68]
push ecx
push str.xsltFormatNumberConversion_:_error_in_format_string__s__using_default_n
xor esi, esi
push esi
push esi
push esi
call fcn.100ff400
fldz
fcomp qword [esp + 0x80]
add esp, 0x14
fnstsw ax
test ah, 0x41
jne 0x10146e5b
mov al, 1
jmp 0x10146e5d
xor al, al
mov ebp, 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], ebp
lea edi, [ebp + 3]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], ebp
mov byte [esp + 0x5c], 1
test al, al
je 0x10146dd9
jmp 0x10146e98
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x64]
mov esi, dword [edx + 0x10]
mov eax, esi
call fcn.10145300
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.100c61c0
add esp, 0xc
jmp 0x10146dd9
mov eax, dword [esp + 0x20]
push 1
lea edx, [esp + 0x17]
push edx
push eax
call fcn.100c61c0
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x24]
jl 0x10146df0
mov ecx, dword [esp + 0x4c]
fld qword [0x1041b158]
lea edx, [edi + ecx]
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
call sub.MSVCR100.dll__CIpow
fst qword [esp + 0x34]
fld qword [esp + 0x6c]
sub esp, 8
fabs
fimul dword [esp + 0x60]
fmulp st(1)
fadd qword [0x1041b178]
fstp qword [esp]
call sub.MSVCR100.dll_floor
fdiv qword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x20]
add esp, 8
fst qword [esp + 0x6c]
test eax, eax
je 0x10146f91
cmp byte [eax], 0
je 0x10146f91
push eax
fstp st(0)
call fcn.100d2010
mov esi, dword [esp + 0x68]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], eax
call fcn.100d2290
fld qword [esp + 0x78]
mov bl, al
fstp qword [esp + 4]
add esp, 4
mov byte [esp + 0x1b], bl
call sub.MSVCR100.dll_floor
fst qword [esp + 0x44]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
add esp, 8
movzx eax, bl
mov ebx, dword [esp + 0x1c]
push eax
movzx eax, byte [edx]
push ecx
push ebp
push eax
sub esp, 8
fstp qword [esp]
push esi
call fcn.10145430
jmp 0x10146fcf
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
mov edx, dword [esp + 0x6c]
fst qword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edx + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 8
push 0x2c
push ecx
movzx ecx, byte [eax]
push ebp
push ecx
sub esp, 8
mov ebx, 1
fstp qword [esp]
push edx
call fcn.10145430
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
lea eax, [ecx + ebp]
add esp, 0x1c
add eax, dword [esp + 0x44]
jne 0x10146fe9
test edi, edi
jle 0x10146fe9
inc ecx
mov dword [esp + 0x4c], ecx
dec edi
fldz
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x44
jp 0x10147022
lea edx, [ecx + ebp]
test edx, edx
jne 0x10147022
mov eax, dword [esp + 0x64]
mov esi, dword [eax + 0x2c]
mov eax, esi
call fcn.10145300
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
call fcn.100c61c0
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
add esp, 0xc
lea edx, [edi + ecx]
test edx, edx
jne 0x10147055
cmp byte [esp + 0x5c], dl
je 0x10147118
mov eax, dword [esp + 0x64]
mov esi, dword [eax + 0x1c]
mov eax, esi
call fcn.10145300
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
call fcn.100c61c0
add esp, 0xc
jmp 0x10147114
fld qword [esp + 0x6c]
fsub qword [esp + 0x3c]
fst qword [esp + 0x6c]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x10147074
test ecx, ecx
je 0x10147118
mov ebx, dword [esp + 0x64]
mov esi, dword [ebx + 0x1c]
mov eax, esi
call fcn.10145300
mov ebp, dword [esp + 0x20]
push eax
push esi
push ebp
call fcn.100c61c0
fld qword [esp + 0x40]
fmul qword [esp + 0x78]
add esp, 4
fadd qword [0x1041b178]
fstp qword [esp]
call sub.MSVCR100.dll_floor
add esp, 8
fst qword [esp + 0x6c]
mov esi, edi
test edi, edi
jle 0x101470e9
fld qword [0x1041b158]
jmp 0x101470be
fxch st(1)
call sub.MSVCR100.dll__CIfmod
fcomp qword [0x1041b160]
fnstsw ax
fld qword [esp + 0x6c]
test ah, 1
je 0x101470e9
fld qword [0x1041b158]
dec esi
fdiv st(1), st(0)
fxch st(1)
fst qword [esp + 0x6c]
test esi, esi
jg 0x101470bc
fstp st(1)
mov edx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x2c]
movzx ecx, byte [eax]
push 0
push 0
add esi, edx
push esi
push ecx
sub esp, 8
fstp qword [esp]
call sub.MSVCR100.dll_floor
fstp qword [esp]
push ebp
xor ebx, ebx
call fcn.10145430
add esp, 0x1c
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
xor ebx, ebx
test ebp, ebp
jle 0x10147190
mov edi, dword [esp + 0x2c]
mov al, byte [edi]
inc edi
mov byte [esp + 0x13], al
cmp al, 0x27
jne 0x1014717b
test edi, edi
jne 0x1014713a
lea eax, [edi - 1]
jmp 0x10147160
mov dl, byte [edi]
cmp dl, 0x80
jae 0x10147148
mov eax, 1
jmp 0x10147160
test dl, 0x40
je 0x1014715d
mov eax, 2
mov cl, 0x20
test cl, dl
je 0x10147160
inc eax
shr cl, 1
jne 0x10147154
or eax, 0xffffffff
push eax
push edi
push esi
mov dword [esp + 0x28], eax
call fcn.100c61c0
mov eax, dword [esp + 0x28]
add esp, 0xc
add edi, eax
lea ebx, [ebx + eax - 1]
jmp 0x1014718b
push 1
lea edx, [esp + 0x17]
push edx
push esi
call fcn.100c61c0
add esp, 0xc
inc ebx
cmp ebx, ebp
jl 0x10147126
push esi
call fcn.100fed90
push eax
call fcn.100d1d20
mov ecx, dword [esp + 0x7c]
push esi
mov dword [ecx], eax
call fcn.100c5ee0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x101471c3
push str._0__._
jmp 0x101471c4
push eax
call fcn.100d1d20
mov dword [edi], eax
add esp, 4
cmp esi, ebx
je 0x101471f1
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x101471f1
mov edx, dword [edi]
push eax
push edx
call fcn.100d2180
add esp, 8
mov dword [edi], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
mov eax, dword [edi]
push str.Infinity
push eax
call fcn.100d2180
add esp, 8
mov dword [edi], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret