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

Disassembly:
push 0xffffffffffffffff
push 0x4f2792
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0x12c]
xor esi, esi
push eax
mov dword [esp + 0x128], esi
call fcn.00481cd0
lea ecx, [esp + 0x84]
call fcn.004d5783
push str..sub
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x130], 1
call fcn.00410a70
add esp, 0xc
mov eax, dword [eax]
push esi
push 0x5021
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x130], 2
call fcn.004d5799
mov ebx, eax
mov eax, dword [esp + 0x1c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
or edi, 0xffffffff
inc bl
mov byte [esp + 0x124], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482912
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x48294d
mov dword [ebp + 0xe0], edi
mov dword [ebp + 0xdc], edi
mov dword [esp + 0x20], esi
push 0x32a00
lea ecx, [esp + 0x24]
mov byte [esp + 0x128], 3
call fcn.0044be40
test al, al
jne 0x48298d
mov eax, dword [esp + 0x20]
push eax
call fcn.004d2f9a
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x124], 0
call fcn.004d5b25
mov eax, dword [esp + 0x12c]
add eax, 0xfffffff0
mov dword [esp + 0x124], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x482986
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x483070
mov eax, dword [ebp + 0x13c]
shl eax, 5
lea ebx, [eax + ebp + 0x14c]
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x28], esi
jle 0x483028
push edi
push esi
mov ecx, ebp
call fcn.004808c0
test al, al
je 0x483018
mov ebx, 1
mov edi, 2
mov edx, 3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
xor esi, esi
cmp esi, 4
je 0x4829fd
test byte [esi + ebp + 0x108], 0xf0
je 0x4829fd
inc esi
cmp esi, 5
jl 0x4829e6
jmp 0x482a3e
mov edi, dword [esp + 0x20]
and esi, 3
mov eax, esi
shl eax, 4
or eax, esi
mov dl, al
mov dh, dl
lea esi, [esp + esi*4 + 0x3c]
mov ecx, 0xca80
mov eax, edx
shl eax, 0x10
mov ax, dx
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [esi], eax
mov ecx, dword [esp + 0x3c]
xor ecx, eax
mov dword [esp + 0x3c], ecx
xor dword [esi], ecx
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax + ebp + 0x108]
mov ecx, eax
shr ecx, 4
mov dword [esp + 0x60], ecx
movzx ecx, byte [ebx + ebp + 0x108]
shr ecx, 4
mov dword [esp + 0x64], ecx
movzx ecx, byte [edi + ebp + 0x108]
shr ecx, 4
mov dword [esp + 0x68], ecx
movzx ecx, byte [edx + ebp + 0x108]
shr ecx, 4
mov dword [esp + 0x6c], ecx
mov cl, byte [ebp + 0x59]
test cl, cl
jne 0x482add
mov ecx, dword [ebp + 0xd4]
and eax, 0xf
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xdc], eax
xor eax, eax
mov al, byte [ebx + ebp + 0x108]
and eax, 0xf
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xe0], eax
xor eax, eax
mov al, byte [edi + ebp + 0x108]
and eax, 0xf
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xe4], eax
movzx edx, byte [edx + ebp + 0x108]
and edx, 0xf
mov eax, dword [ecx + edx*4]
mov dword [esp + 0xe8], eax
jmp 0x482b27
mov eax, dword [ebp + 0xd8]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [eax + ecx*4]
and ecx, 0xffffff
mov dword [esp + 0xdc], ecx
mov ecx, dword [eax + ebx*4]
and ecx, 0xffffff
mov dword [esp + 0xe0], ecx
mov ecx, dword [eax + edi*4]
and ecx, 0xffffff
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + edx*4]
and edx, 0xffffff
mov dword [esp + 0xe8], edx
push 0xa
lea ecx, [esp + 0xc4]
call fcn.0047ffd0
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x128], 4
call fcn.004816c0
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0xc4]
mov byte [eax], 0
call fcn.004816c0
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0xc4]
mov byte [eax], 1
call fcn.004816c0
mov byte [eax], 2
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0xc4]
call fcn.004816c0
mov byte [eax], 3
mov ecx, dword [ebp + 0xf8]
mov eax, dword [ebp + 0x100]
mov ebx, dword [ebp + 0x104]
mov edi, dword [ebp + 0xfc]
sub eax, ecx
sub eax, 2
lea ecx, [eax + 1]
sar ecx, 1
sub ebx, edi
add ecx, 3
sub ebx, 2
and ecx, 0xfffffffc
test ebx, ebx
mov dword [esp + 0xdc], 0xff
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
jle 0x482cbb
mov edx, ecx
lea esi, [eax*4 + 8]
neg edx
lea edi, [ebx - 1]
mov dword [esp + 0x2c], esi
imul edi, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
test eax, eax
mov ecx, dword [ebp + 0x10c]
mov esi, dword [esp + 0x18]
lea esi, [ecx + esi + 4]
mov dword [esp + 0x14], 0
jle 0x482c9c
mov eax, dword [esi]
xor dl, dl
test eax, 0xff000000
mov byte [esp + 0x13], dl
je 0x482c52
and eax, 0xffffff
lea edx, [esp + 0x13]
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xc8]
call fcn.00480e30
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
mov eax, ecx
sar eax, 1
add eax, edi
add eax, dword [esp + 0x20]
test cl, 1
movzx edx, dl
je 0x482c74
xor ecx, ecx
mov cl, byte [eax]
and ecx, 0xf0
jmp 0x482c7e
xor ecx, ecx
mov cl, byte [eax]
and ecx, 0xf
shl edx, 4
or ecx, edx
mov byte [eax], cl
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x482c20
mov edx, dword [esp + 0x38]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
add esi, ecx
mov ecx, dword [esp + 0x1c]
add edi, edx
dec ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
jne 0x482c02
mov esi, dword [ebp + 0xe8]
mov edi, dword [ebp + 0xf0]
add edi, esi
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x12c]
inc eax
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s__06d.bmp
push edx
mov byte [esp + 0x134], 5
call fcn.00407a50
add esp, 0x10
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, edi
cdq
mov ecx, 0x3e8
idiv ecx
mov edi, 0x3c
mov byte [esp + 0x124], 6
mov ecx, edx
cdq
idiv edi
mov dword [esp + 0x2c], edx
cdq
idiv edi
mov edi, edx
mov dword [esp + 0x38], eax
mov eax, esi
cdq
mov esi, 0x3e8
idiv esi
mov esi, 0x3c
mov dword [esp + 0x30], edx
cdq
idiv esi
mov dword [esp + 0x1c], edx
cdq
idiv esi
mov esi, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov edx, eax
shl edx, 4
or edx, eax
mov eax, dword [esp + 0x68]
push edx
mov edx, eax
shl edx, 4
or edx, eax
mov eax, dword [esp + 0x68]
push edx
mov edx, eax
shl edx, 4
or edx, eax
mov eax, dword [esp + 0x68]
push edx
mov edx, eax
shl edx, 4
or edx, eax
mov eax, dword [ebp + 0xfc]
push edx
mov edx, dword [ebp + 0xf8]
push eax
mov eax, dword [ebp + 0x104]
push edx
sub eax, dword [ebp + 0xfc]
mov edx, dword [ebp + 0x100]
push eax
sub edx, dword [ebp + 0xf8]
push edx
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x4c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x44]
push edi
push edx
mov eax, 0x66666667
imul dword [esp + 0x60]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x80]
push ecx
push esi
push edx
push eax
lea ecx, [esp + 0x5c]
push str._s_t_02d:_02d:_02d:_02d__02d:_02d:_02d:_02d_t_03d__03d__03d__03d__d__d__d__d_n
push ecx
call fcn.00407a50
mov edx, dword [esp + 0x64]
add esp, 0x4c
push edx
lea ecx, [esp + 0x88]
call fcn.004d5949
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
imul esi, ebx
lea eax, [esi + 0x76]
xor edi, edi
mov dword [esp + 0x76], eax
mov eax, 4
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x50]
mov word [esp + 0x74], 0x4d42
mov word [esp + 0x7a], di
mov word [esp + 0x7c], di
mov dword [esp + 0x7e], 0x76
mov dword [esp + 0x98], 0x28
mov dword [esp + 0xa0], ebx
mov word [esp + 0xa4], 1
mov word [esp + 0xa6], ax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], 0x10
mov dword [esp + 0xbc], eax
call fcn.004d6a42
mov ebx, dword [esp + 0x14]
push edi
push 0x9021
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x130], 7
call fcn.004d6c93
test eax, eax
je 0x482fa0
push 0xe
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x58]
call fcn.004d678f
push 0x28
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x58]
call fcn.004d678f
push 0x40
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x58]
call fcn.004d678f
mov edx, dword [esp + 0x20]
push esi
push edx
lea ecx, [esp + 0x58]
call fcn.004d678f
lea ecx, [esp + 0x50]
call fcn.004d69e0
push ecx
mov ecx, dword [ebx - 0x10]
mov eax, dword [ecx]
lea esi, [ebx - 0x10]
mov dword [esp + 0x28], esp
mov dword [esp + 0x28], esp
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
cmp ecx, edi
lea edx, [esi + 0xc]
jl 0x482f57
cmp eax, dword [esi]
jne 0x482f57
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x482f8f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
cmp eax, edi
je 0x48308b
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
add eax, 0x10
mov dword [ecx], eax
call fcn.00481630
add esp, 4
lea ecx, [esp + 0x50]
mov byte [esp + 0x124], 6
call fcn.004d6a81
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x124], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x482fd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x124], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482ff9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x124], 3
call fcn.00480530
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x70]
or edi, 0xffffffff
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
mov dword [esp + 0x28], esi
jl 0x4829b0
mov eax, dword [esp + 0x20]
push eax
call fcn.004d2f9a
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x124], 0
call fcn.004d5b25
mov eax, dword [esp + 0x12c]
add eax, 0xfffffff0
mov dword [esp + 0x124], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x48306e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret 4
call fcn.00402690
int3