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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574f20
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5d8e74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
fldz
push ecx
mov ecx, dword [esi + 0x514]
fstp dword [esp]
call fcn.00402440
push 0
push 3
mov ecx, esi
call fcn.00415e60
movzx eax, word [esi + 0x15e]
movzx ebx, word [esi + 0x15c]
mov dword [ebp - 0x1c], ebx
imul ebx, eax
lea edi, [ebx + ebx*2]
push edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], ebx
call fcn.005559f1
push edi
push 0
push eax
mov dword [ebp - 0x20], eax
call fcn.00555b00
push ebx
call fcn.005559f1
push ebx
push 0
push eax
mov dword [ebp - 0x14], eax
call fcn.00555b00
lea edi, [ebx + ebx]
push edi
call fcn.005559f1
push edi
push 0
push eax
mov dword [ebp - 0x24], eax
call fcn.00555b00
mov eax, ebx
cdq
and edx, 3
lea ebx, [edx + eax]
sar ebx, 2
push ebx
mov dword [ebp - 0x4c], ebx
call fcn.005559f1
push ebx
push 0
push eax
mov dword [ebp - 0x3c], eax
call fcn.00555b00
add esp, 0x40
push ebx
call fcn.005559f1
push ebx
push 0
push eax
mov dword [ebp - 0x40], eax
call fcn.00555b00
push ebx
call fcn.005559f1
push ebx
push 0
push eax
mov dword [ebp - 0x44], eax
call fcn.00555b00
push ebx
call fcn.005559f1
push ebx
push 0
push eax
mov dword [ebp - 0x48], eax
call fcn.00555b00
add esp, 0x30
lea ecx, [ebp - 0xd]
call fcn.0040c2c0
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], esp
mov eax, dword [esi + 0x204]
sub eax, 0x10
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 0x208]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x20c]
mov dword [edi + 8], ecx
fld dword [esi + 0x210]
fstp dword [edi + 0xc]
add esp, 4
fld dword [esi + 0x214]
mov ecx, esi
fstp dword [edi + 0x10]
fld dword [esi + 0x218]
fstp dword [edi + 0x14]
call fcn.00443220
cmp eax, 1
jne 0x44724f
xor edi, edi
push edi
push 5
mov ecx, esi
call fcn.00414ad0
movzx edx, byte [esi + 0x163]
movzx ecx, byte [esi + 0x162]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0x391c
push ecx
mov ecx, dword [esi + 0x514]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.00402a70
movzx eax, byte [esi + 0x163]
movzx ecx, byte [esi + 0x162]
mov edx, dword [ebp - 0x2c]
push eax
push edi
push 0x3812
and edx, 0x7f
push ecx
mov ecx, dword [esi + 0x514]
mov dword [ebp - 0x30], edx
call fcn.00402a40
movzx edx, byte [esi + 0x163]
mov eax, dword [ebp - 0x30]
movzx ecx, byte [esi + 0x162]
push edx
push eax
push 0x391c
push ecx
mov ecx, dword [esi + 0x514]
call fcn.00402a40
movzx edx, byte [esi + 0x163]
movzx eax, byte [esi + 0x162]
mov ecx, dword [esi + 0x514]
push edx
push 0x30
push 0x3812
push eax
call fcn.00402a40
movzx ecx, byte [esi + 0x163]
movzx eax, byte [esi + 0x162]
push ecx
mov ecx, dword [esi + 0x514]
lea edx, [ebp - 0x30]
push edx
push 0x3912
push eax
call fcn.00402a70
movzx ecx, word [ebp - 0x30]
mov edi, dword [ebp + 8]
mov dword [edi], ecx
movzx edx, byte [esi + 0x163]
movzx ecx, byte [esi + 0x162]
push edx
lea eax, [ebp - 0x30]
push eax
push 0x3911
push ecx
mov ecx, dword [esi + 0x514]
call fcn.00402a70
movzx edx, word [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
shl edx, 8
add dword [edi], edx
movzx eax, byte [esi + 0x163]
movzx edx, byte [esi + 0x162]
push eax
push ecx
mov ecx, dword [esi + 0x514]
push 0x391c
push edx
call fcn.00402a40
mov eax, dword [esi + 0x3cc]
sub esp, 0x18
sub eax, 0x10
mov dword [ebp - 0x38], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 0x3d0]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x3d4]
mov dword [edi + 8], ecx
fld dword [esi + 0x3d8]
fstp dword [edi + 0xc]
add esp, 4
fld dword [esi + 0x3dc]
mov ecx, esi
fstp dword [edi + 0x10]
fld dword [esi + 0x3e0]
fstp dword [edi + 0x14]
call fcn.00443220
cmp eax, 1
jne 0x4478f6
jmp 0x4472b0
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], 0
jne 0x447324
lea eax, [esi + 0x470]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x460], edi
je 0x4472f2
mov edx, dword [esi + 0x42c]
mov eax, dword [esi + 0x430]
mov dword [esi + 0x430], edx
mov dword [esi + 0x42c], eax
mov edi, 1
lea eax, [esi + 0x470]
push eax
mov dword [esi + 0x460], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [ebp - 0x2c]
push 0xa
mov dword [ebp - 0x38], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x2c], 0xc8
jl 0x4472b8
test edi, edi
je 0x447330
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 3
jl 0x4472b0
cmp dword [ebp - 0x38], 1
jne 0x4477ae
push 0
push 1
mov ecx, esi
call fcn.00414ad0
cmp eax, 1
jne 0x4477ae
mov al, byte [esi + 0x160]
cmp al, 2
jne 0x44738d
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x430]
push edi
push ebx
push eax
push ecx
lea ecx, [ebp - 0xd]
call fcn.0040c750
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x430]
push edi
push ebx
push edx
push eax
lea ecx, [ebp - 0xd]
call fcn.0040c2d0
jmp 0x4474aa
cmp al, 1
jne 0x4473bf
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, dword [esi + 0x430]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0041b5a0
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x430]
mov ecx, dword [ebp - 0x14]
push edx
push eax
push ecx
jmp 0x4474a2
test al, al
je 0x44742a
cmp al, 6
je 0x44742a
cmp al, 7
jne 0x4474aa
mov eax, dword [ebp - 0x28]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
xor ecx, ecx
test edi, edi
jle 0x447408
xor edx, edx
mov eax, dword [esi + 0x430]
movzx ebx, byte [edx + eax]
mov eax, dword [ebp - 0x24]
mov byte [eax + ecx*2], bl
mov ebx, dword [esi + 0x430]
movzx ebx, byte [edx + ebx + 1]
mov byte [eax + ecx*2 + 1], bl
inc ecx
add edx, 3
cmp ecx, edi
jl 0x4473e1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.0041b5a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
push ecx
push edi
push edx
jmp 0x4474a2
test ebx, ebx
jle 0x44747f
mov ecx, dword [ebp - 0x24]
xor eax, eax
add ecx, 2
mov edi, ebx
jmp 0x447440
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx]
mov byte [ecx - 2], dl
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx + 1]
mov byte [ecx - 1], dl
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx + 2]
mov byte [ecx], dl
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx + 3]
mov byte [ecx + 1], dl
add eax, 5
add ecx, 4
dec edi
jne 0x447440
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041b5a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push ecx
push edx
push eax
call fcn.00556320
add esp, 0xc
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push edi
push ebx
push ecx
mov ecx, esi
call fcn.0041a900
movzx edx, byte [esi + 0x1be]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
push edi
push ebx
push ecx
lea ecx, [ebp - 0xd]
call fcn.0040c310
mov ecx, dword [ebp + 8]
mov eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, ebx
cdq
add ecx, 0x3c
sub eax, edx
mov edx, dword [ebp - 0x3c]
push ecx
mov ebx, eax
sar edi, 1
push edi
sar ebx, 1
push ebx
push edx
mov ecx, esi
call fcn.00415580
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
mov eax, dword [ebp - 0x40]
push edi
push ebx
push eax
mov ecx, esi
call fcn.00415580
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
add eax, 0x58
push eax
push edi
push ebx
push ecx
mov ecx, esi
call fcn.00415580
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
add eax, 4
push eax
push edi
push ebx
push edx
mov ecx, esi
call fcn.00415580
mov eax, dword [ebp + 8]
fld dword [eax + 0x3c]
fadd dword [eax + 0x20]
fadd dword [eax + 0x58]
fadd dword [eax + 4]
fld qword [0x5866a0]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x38]
fld dword [eax + 0x40]
fadd dword [eax + 0x24]
fadd dword [eax + 0x5c]
fadd dword [eax + 8]
fmulp st(1)
fstp dword [ebp - 0x34]
fld dword [ebp - 0x38]
fld st(0)
fsub dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
fst qword [ebp - 0x54]
fld dword [esi + 0xa98]
fsubp st(2)
fdivrp st(1)
fstp dword [eax + 0x74]
xor edi, edi
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x4475f5
lea ebx, [esi + 0x470]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x460], edi
je 0x4475cc
mov ecx, dword [esi + 0x42c]
mov eax, dword [esi + 0x430]
mov dword [esi + 0x430], ecx
mov dword [esi + 0x42c], eax
mov edi, 1
push ebx
mov dword [esi + 0x460], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [ebp - 0x2c]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x2c], 0xc8
jl 0x447596
test edi, edi
je 0x447601
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 3
jl 0x447591
cmp edi, 1
jne 0x44779d
push 0
push edi
mov ecx, esi
call fcn.00414ad0
cmp eax, edi
jne 0x44779d
mov al, byte [esi + 0x160]
cmp al, 2
jne 0x44765b
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x430]
push edi
push ebx
push edx
push eax
lea ecx, [ebp - 0xd]
call fcn.0040c750
mov ecx, dword [ebp - 0x14]
mov edx, dword [esi + 0x430]
push edi
push ebx
push ecx
push edx
lea ecx, [ebp - 0xd]
call fcn.0040c2d0
jmp 0x447774
cmp al, 1
jne 0x44768d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [esi + 0x430]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041b5a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi + 0x430]
mov eax, dword [ebp - 0x14]
push ecx
push edx
push eax
jmp 0x44776c
test al, al
je 0x4476f9
cmp al, 6
je 0x4476f9
cmp al, 7
jne 0x447774
mov eax, dword [ebp - 0x28]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
xor ecx, ecx
test edi, edi
jle 0x4476d7
xor edx, edx
nop
mov eax, dword [esi + 0x430]
movzx ebx, byte [edx + eax]
mov eax, dword [ebp - 0x24]
mov byte [eax + ecx*2], bl
mov ebx, dword [esi + 0x430]
movzx ebx, byte [edx + ebx + 1]
mov byte [eax + ecx*2 + 1], bl
inc ecx
add edx, 3
cmp ecx, edi
jl 0x4476b0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.0041b5a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
push ecx
push edi
push edx
jmp 0x44776c
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x24]
test edi, edi
jle 0x44774f
xor eax, eax
lea ecx, [ebx + 2]
jmp 0x447710
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx]
mov byte [ecx - 2], dl
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx + 1]
mov byte [ecx - 1], dl
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx + 2]
mov byte [ecx], dl
mov edx, dword [esi + 0x430]
movzx edx, byte [eax + edx + 3]
mov byte [ecx + 1], dl
add eax, 5
add ecx, 4
dec edi
jne 0x447710
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push edx
push ebx
mov ecx, esi
call fcn.0041b5a0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
push eax
push ebx
push ecx
call fcn.00556320
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0041a900
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0xd]
call fcn.0040ce70
mov ecx, dword [ebp + 8]
fstp dword [ecx + 0x7c]
mov eax, dword [ebp + 8]
fld dword [ebp - 0x38]
fsub dword [eax + 0x7c]
fdivr qword [ebp - 0x54]
fstp dword [eax + 0x78]
jmp 0x4477b8
mov dword [esi + 0x20cc], 0
lea edx, [ebp - 0x30]
push edx
call fcn.00404bd0
add esp, 4
push 4
push str.BLC
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401720
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043aa90
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00401720
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447818
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
push str..png
lea ecx, [ebp - 0x30]
call fcn.00401720
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x447846
push 0
lea ecx, [ebp - 0x30]
call fcn.00401380
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00412370
cmp dword [esi + 0x20cc], 1
jne 0x4478d1
push 0x583f0c
lea ecx, [ebp + 8]
call fcn.00401a90
push 1
lea edx, [ebp + 8]
push str.BLC_:_d
push edx
mov byte [ebp - 4], 3
call fcn.00402fc0
mov eax, dword [ebp + 8]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00418b40
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4478d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x447904
push 0
push 0
push str._BLC__parameter_losted_
call fcn.0045802b
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00555506
mov edx, dword [ebp - 0x40]
push edx
call fcn.00555506
mov eax, dword [ebp - 0x44]
push eax
call fcn.00555506
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00555506
mov edx, dword [ebp - 0x20]
push edx
call fcn.00555506
mov eax, dword [ebp - 0x14]
push eax
call fcn.00555506
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00555506
add esp, 0x1c
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
call fcn.00415fd0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4