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

Disassembly:
sub esp, 0x19c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1174]
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x482a0b
mov ecx, dword [esi + 0x10ec]
call fcn.0044ab30
mov ecx, dword [esi + 0x10ec]
mov edi, eax
call fcn.0044aa90
mov ecx, dword [esi + 0x10ec]
inc edi
cmp edi, eax
jne 0x482a06
push 1
push ebx
push ebx
call fcn.0044c910
jmp 0x482a0b
call fcn.0044c3c0
mov ecx, dword [esi + 0x10ec]
call fcn.0044ab30
mov ecx, dword [esi + 0x10ec]
mov ebp, eax
call fcn.0044aa90
push ebx
mov edi, eax
push ebx
lea eax, [edi + ebp]
push ebx
lea ecx, [esp + 0xb4]
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], eax
call fcn.004998c0
mov ecx, dword [0x6609a0]
mov edx, dword [0x6609a4]
push ebx
push ebx
mov dword [esp + 0x60], ecx
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xbf800000
mov dword [esp + 0x54], 0xbf800000
mov dword [esp + 0x58], 0xbf800000
mov dword [esp + 0x5c], 0xbf800000
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.004998c0
xor edx, edx
mov eax, ebp
div edi
lea ecx, [esi + 0x608]
push edx
call fcn.00451520
push ebx
push ebx
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esi + 0x228]
call fcn.0045f6e0
mov edi, eax
cmp edi, ebx
mov dword [esi + 0x1174], edi
jne 0x482b36
cmp byte [esp + 0x23], bl
je 0x482b9b
mov ecx, dword [esp + 0xa4]
mov eax, ebp
inc ebp
cmp eax, ecx
jae 0x482b9b
mov edi, dword [esp + 0xa0]
jmp 0x482ae0
lea ecx, [esp + 0x74]
call fcn.00499ac0
lea ecx, [esp + 0x70]
call fcn.004039f0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], ebx
call fcn.004039f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], ebx
call fcn.004039f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], ebx
call fcn.004039f0
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], ebx
call fcn.004039f0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], ebx
call fcn.00499ac0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret 4
cmp dword [esp + 0xb8], ebx
jne 0x482c14
lea ecx, [esp + 0x74]
mov dword [esi + 0x1174], 0xffffffff
call fcn.00499ac0
lea ecx, [esp + 0x70]
call fcn.004039f0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], ebx
call fcn.004039f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], ebx
call fcn.004039f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], ebx
call fcn.004039f0
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], ebx
call fcn.004039f0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], ebx
call fcn.00499ac0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret 4
mov edi, dword [esp + 0x1b0]
mov edx, dword [edi + 0x264]
lea esi, [edi + 0x264]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push ebx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0xf8]
call fcn.004999c0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
sub eax, edi
cmp ecx, eax
mov edi, dword [esp + 0x1c]
jae 0x482c76
mov ebp, edi
sub ebp, dword [esp + 0x14]
cmp edx, ebp
jb 0x482c84
cmp ecx, eax
ja 0x482c84
sub edi, dword [esp + 0x14]
cmp edx, edi
jbe 0x482d45
push 0xffffffffffffffff
lea ecx, [esp + 0x11c]
call fcn.00495350
push ebx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x124]
call fcn.004963b0
lea ecx, [esp + 0x170]
call fcn.004996f0
lea ecx, [esp + 0x168]
call fcn.004996f0
mov eax, dword [esp + 0x160]
cmp eax, ebx
je 0x482cd8
push eax
call fcn.00499410
add esp, 4
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x158]
mov edi, 1
and edx, edi
cmp eax, ebx
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], edx
je 0x482d08
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x15c]
and eax, edi
lea ecx, [esp + 0x150]
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], eax
call fcn.004996f0
lea ecx, [esp + 0x148]
call fcn.004996f0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xdc], edx
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0xdc], ecx
push eax
lea ecx, [esp + 0xe8]
push ecx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
call fcn.004a9bf0
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
or ecx, 0xffffffff
push ecx
mov dword [esp + 0xd4], eax
mov ebp, esp
or eax, 0xffffffff
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [esp + 0xd0], edx
or edx, 0xffffffff
mov dword [ebp + 8], edx
or edi, 0xffffffff
push 0xff000000
lea ecx, [esp + 0x104]
mov dword [ebp + 0xc], edi
call fcn.00499ef0
sub esp, 0x10
mov ebp, esp
or eax, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp], eax
mov dword [ebp + 4], ecx
or edx, 0xffffffff
lea ecx, [esp + 0xb8]
mov dword [ebp + 8], edx
push ecx
or edi, 0xffffffff
lea ecx, [esp + 0x104]
mov dword [ebp + 0xc], edi
call fcn.0049b200
mov edx, dword [esi]
push ebx
lea eax, [esp + 0xf4]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edi, dword [esi]
push 0xbf800000
call fcn.004a99d0
sub esp, 8
mov ecx, esi
fstp qword [esp]
call dword [edi]
lea ecx, [esp + 0xf0]
call fcn.00499ac0
lea ecx, [esp + 0x74]
call fcn.00499ac0
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
je 0x482e92
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482e92
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x482e81
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482e7c
push esi
call ebp
and eax, 0xff
jmp 0x482e81
mov eax, 0xff
cmp eax, ebx
jne 0x482e92
mov eax, dword [esp + 0x70]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x70], ebx
je 0x482eed
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482eed
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x482edc
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482ed7
push esi
call ebp
and eax, 0xff
jmp 0x482edc
mov eax, 0xff
cmp eax, ebx
jne 0x482eed
mov eax, dword [esp + 0x6c]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
je 0x482f48
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482f48
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x482f37
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482f32
push esi
call ebp
and eax, 0xff
jmp 0x482f37
mov eax, 0xff
cmp eax, ebx
jne 0x482f48
mov eax, dword [esp + 0x68]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, ebx
mov dword [esp + 0x68], ebx
je 0x482fa3
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482fa3
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x482f92
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482f8d
push esi
call ebp
and eax, 0xff
jmp 0x482f92
mov eax, 0xff
cmp eax, ebx
jne 0x482fa3
mov eax, dword [esp + 0x64]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, ebx
mov dword [esp + 0x64], ebx
je 0x482ffe
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482ffe
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x482fed
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482fe8
push esi
call ebp
and eax, 0xff
jmp 0x482fed
mov eax, 0xff
cmp eax, ebx
jne 0x482ffe
mov eax, dword [esp + 0x60]
push eax
call fcn.00499410
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], ebx
call fcn.00499ac0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x19c
ret 4