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

Disassembly:
push 0xffffffffffffffff
push 0x4c7f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x19c]
push ebx
push ebp
push esi
mov dword [esp + 0x198], eax
push edi
mov esi, dword [esp + 0x1c0]
cmp esi, 0x3b9ac9ff
mov dword [esp + 0x1a8], 0
jl 0x4ad183
mov esi, 0x3b9ac9ff
jmp 0x4ad189
test esi, esi
jge 0x4ad189
xor esi, esi
lea eax, [esp + 0x20]
push eax
call fcn.0040d4d0
mov ecx, eax
call fcn.004016d0
mov ecx, dword [eax]
mov byte [esp + 0x1a8], 1
call fcn.00401120
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x1c], edx
mov byte [esp + 0x1a8], 0
je 0x4ad1d8
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x24], edx
jne 0x4ad1d8
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x90]
push esi
push ecx
call fcn.00405900
add esp, 8
test esi, esi
mov eax, dword [esp + 0xa4]
mov ebp, eax
mov byte [esp + 0x1a8], 2
mov dword [esp + 0x24], ebp
mov ebx, 0xf
jle 0x4ad84b
or edi, 0xffffffff
cmp eax, 0xffffffff
mov dword [esp + 0x20], edi
jl 0x4ad84b
mov esi, 0x10
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, 0x4f130c
mov dword [esp + 0x58], ebx
mov byte [esp + 0x44], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ad237
sub eax, edx
push eax
push 0x4f130c
lea ecx, [esp + 0x48]
call fcn.00402cd0
test edi, edi
mov byte [esp + 0x1a8], 3
jge 0x4ad27d
mov eax, str._texture_gui_digits_plus.png
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ad263
sub eax, edx
push eax
push str._texture_gui_digits_plus.png
lea ecx, [esp + 0x48]
call fcn.00402cd0
jmp 0x4ad2f4
cmp edi, ebp
jge 0x4ad2dd
cmp dword [esp + 0xa8], esi
mov eax, dword [esp + 0x94]
jae 0x4ad298
lea eax, [esp + 0x94]
movsx edx, byte [eax + edi]
sub edx, 0x30
push edx
lea eax, [esp + 0xd8]
push 0x4f7f58
push eax
call fcn.004ae68f
lea eax, [esp + 0xe0]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ad2c0
sub eax, edx
push eax
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x48]
call fcn.00402cd0
jmp 0x4ad2f4
jne 0x4ad2f4
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x1d4]
push edx
lea ecx, [esp + 0x4c]
call fcn.00402aa0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4ad801
push 0x1e8
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1a8], 4
je 0x4ad328
mov ecx, eax
call fcn.0042dd20
mov esi, eax
jmp 0x4ad32a
xor esi, esi
test esi, esi
mov dword [esp + 0xd0], esi
je 0x4ad338
inc dword [esi + 4]
push 1
push 1
mov byte [esp + 0x1b0], 5
call fcn.0040d4d0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, eax
call fcn.004016d0
mov ecx, esi
call fcn.00425c90
mov edx, dword [esp + 0x1b0]
push 0
push edx
mov ecx, esi
call fcn.00424cf0
push 0xbf800000
push 0xbf800000
push 0x42000000
push 0x41800000
lea ecx, [esp + 0x148]
call fcn.00422f90
push eax
mov ecx, esi
call fcn.0042adf0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0042c070
push 0
mov ecx, esi
call fcn.00424c80
mov ecx, dword [esp + 0x1e0]
xor eax, eax
mov edx, dword [esp + 0x1b8]
test ecx, ecx
mov ecx, dword [esp + 0x1b4]
setne al
inc edi
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
add eax, ebp
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x30], eax
fmul dword [0x4f2588]
xor eax, eax
fsubp st(1)
fmul dword [0x4f78a4]
fstp dword [esp + 0xc4]
lea esp, [esp]
fld dword [esp + eax + 0xc4]
add eax, 4
cmp eax, 0xc
fadd dword [esp + eax + 0x24]
fstp dword [esp + eax + 0x24]
jb 0x4ad420
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0xc2480000
mov dword [esp + 0xb4], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
xor eax, eax
mov edi, edi
fld dword [esp + eax + 0xac]
add eax, 4
cmp eax, 0xc
fadd dword [esp + eax + 0x30]
fstp dword [esp + eax + 0x30]
jb 0x4ad480
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb8], ecx
push 1
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
call fcn.00424690
push 0x40
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1a8], 6
je 0x4ad512
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c4]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c8]
add edx, ebx
adc ecx, edi
mov dword [esp + 0x78], edx
lea edx, [esp + 0x78]
mov dword [esp + 0x7c], ecx
push edx
mov ecx, eax
call fcn.00423890
mov edi, eax
jmp 0x4ad514
xor edi, edi
test edi, edi
mov dword [esp + 0x10], edi
je 0x4ad51f
inc dword [edi + 4]
push 0xffffff
mov ecx, edi
mov byte [esp + 0x1ac], 7
call fcn.00422400
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call fcn.00422330
test edi, edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], edi
je 0x4ad54f
inc dword [edi + 4]
mov ecx, esi
call fcn.0042b080
push 0x40
call fcn.004ad909
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1a8], 8
je 0x4ad5ab
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c8]
add ecx, ebp
adc edx, ebx
add ecx, 0xc8
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x70]
adc edx, 0
push ecx
mov ecx, eax
mov dword [esp + 0x78], edx
call fcn.00423890
mov ebx, eax
jmp 0x4ad5ad
xor ebx, ebx
test ebx, ebx
mov byte [esp + 0x1a8], 7
je 0x4ad5bc
inc dword [ebx + 4]
test edi, edi
mov dword [esp + 0x10], ebx
je 0x4ad5d9
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [edi + 4], ecx
jne 0x4ad5d9
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00422400
test ebx, ebx
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ebx
je 0x4ad5f2
inc dword [ebx + 4]
mov ecx, esi
call fcn.0042b080
push 0x40
call fcn.004ad909
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1a8], 9
je 0x4ad657
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c8]
add ecx, ebp
adc edx, edi
add ecx, 0x320
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x88]
adc edx, 0
push ecx
mov ecx, eax
mov dword [esp + 0x90], edx
call fcn.00423890
mov ebp, eax
jmp 0x4ad659
xor ebp, ebp
test ebp, ebp
mov byte [esp + 0x1a8], 7
je 0x4ad668
inc dword [ebp + 4]
test ebx, ebx
mov dword [esp + 0x10], ebp
je 0x4ad685
mov ecx, dword [ebx + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebx + 4], ecx
jne 0x4ad685
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00422400
test ebp, ebp
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ebp
je 0x4ad69e
inc dword [ebp + 4]
mov ecx, esi
call fcn.0042b080
push 0x40
call fcn.004ad909
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1a8], 0xa
je 0x4ad703
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c8]
add ecx, ebx
adc edx, edi
add ecx, 0x3e8
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x80]
adc edx, 0
push ecx
mov ecx, eax
mov dword [esp + 0x88], edx
call fcn.00423890
mov edi, eax
jmp 0x4ad705
xor edi, edi
test edi, edi
mov byte [esp + 0x1a8], 7
je 0x4ad714
inc dword [edi + 4]
test ebp, ebp
mov dword [esp + 0x10], edi
je 0x4ad732
mov ecx, dword [ebp + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebp + 4], ecx
jne 0x4ad732
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
push 0xffffff
mov ecx, edi
call fcn.00422400
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
call fcn.00422330
test edi, edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], edi
je 0x4ad75d
inc dword [edi + 4]
mov ecx, esi
call fcn.0042b080
mov ecx, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1c8]
add ecx, 0x3e8
lea eax, [esp + 0x68]
adc edx, 0
mov dword [esp + 0x68], ecx
push eax
mov ecx, esi
mov dword [esp + 0x70], edx
call fcn.00422c20
test esi, esi
push 1
push 1
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], esi
je 0x4ad7a3
inc dword [esi + 4]
mov byte [esp + 0x1b4], 0xb
call fcn.0040e220
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x1b4], 7
call dword [edx + 0x10]
test edi, edi
mov byte [esp + 0x1a8], 5
je 0x4ad7e0
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [edi + 4], ecx
jne 0x4ad7e0
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
test esi, esi
mov byte [esp + 0x1a8], 3
je 0x4ad801
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jne 0x4ad801
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x58]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x1a8], 2
jb 0x4ad823
mov eax, dword [esp + 0x44]
push eax
call fcn.004ade5d
add esp, 4
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
xor eax, eax
inc edi
cmp edi, ebp
mov ebx, 0xf
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], eax
mov byte [esp + 0x44], al
mov dword [esp + 0x20], edi
jle 0x4ad222
mov eax, dword [esp + 0xa8]
mov esi, 0x10
cmp eax, esi
jb 0x4ad86b
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x1e4], esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
jb 0x4ad89e
mov edx, dword [esp + 0x1d0]
push edx
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x19c]
xor ecx, dword [esp + 0x1ac]
call fcn.004ae650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret 0x38