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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x8c], ecx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x44], eax
movlpd qword [esp + 0x48], xmm0
cmp word [ebp + 0x10], cx
je 0x4bd974
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x50], 0x40
jne 0x4be2ed
movzx eax, word [edx]
mov dword [esp + 0x38], eax
cmp eax, 0x3f
ja 0x4be2ed
movzx eax, ax
xor edx, edx
bts edx, eax
mov edi, dword [esp + 0x4c]
xor ebx, ebx
movlpd qword [esp + 0x80], xmm0
cmp eax, 0x20
movlpd qword [esp + 0x50], xmm0
mov byte [esp + 0x1c], 1
cmovae ebx, edx
mov dword [esp + 0x14], edi
xor edx, ebx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae ebx, edx
add edx, 0xffffffff
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x48]
adc ebx, 0xffffffff
and eax, 0x803
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x20], edx
sbb eax, eax
neg eax
add eax, 0x182
xor esi, esi
movzx eax, ax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x6c]
cmp edi, eax
ja 0x4be268
jb 0x4bda38
cmp edx, dword [esp + 0x78]
jae 0x4be26c
movzx eax, word [ebp + 0x10]
cmp esi, eax
jg 0x4be28b
test esi, esi
jle 0x4bda62
mov edi, dword [esp + 0x70]
or edi, dword [ecx + 8]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x74]
or edi, dword [ecx + 0xc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x14]
cmp esi, eax
jge 0x4bda88
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test eax, 0x800
je 0x4bda96
mov ecx, esi
jmp 0x4be23f
mov esi, dword [esp + 0x90]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test dword [esi + 0x2c], 0x400
jne 0x4be252
and eax, 0x80
mov dword [esp + 0x80], eax
je 0x4bdab7
xor eax, eax
mov word [esi + 0x1e], ax
movzx eax, byte [esi + 0x10]
mov edx, dword [esp + 0x38]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x30], eax
test dx, dx
je 0x4bdcbe
mov ebx, dword [esp + 0x40]
add ebx, 8
mov dword [esp + 0x2c], ebx
nop dword [eax + eax]
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x50], ecx
cmovae edx, ecx
and ecx, dword [esp + 0x20]
mov eax, edx
mov dword [esp + 0x34], edx
and eax, edi
or ecx, eax
jne 0x4bdc99
mov esi, dword [ebx]
test esi, esi
je 0x4bdc99
nop word [eax + eax]
mov eax, dword [esi + 4]
test eax, 0x82000
je 0x4bdb5d
test eax, 0x80000
je 0x4bdb49
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 8]
jmp 0x4bdb51
cmp byte [esi], 0x71
jne 0x4bdb55
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4bdb30
test esi, esi
je 0x4bdc99
mov al, byte [esi]
cmp al, 0xa7
je 0x4bdb6b
cmp al, 0xa9
jne 0x4bdc99
mov edx, dword [esp + 0x5c]
cmp dword [esi + 0x1c], edx
jne 0x4bdc99
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x70]
movzx eax, ax
not ecx
push 0
push eax
mov eax, dword [esp + 0x7c]
not eax
push eax
movsx eax, word [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x54]
push eax
lea ecx, [ecx + 0x50]
call fcn.004b7f60
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4bdc95
movzx ebx, word [edi + 0xc]
cmp ebx, 1
jne 0x4bdbdc
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x30]
test edx, edx
je 0x4bdbd4
mov eax, dword [eax + 0x38]
cmp edi, dword [eax]
je 0x4bdbd4
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4bdbc8
cmp ecx, edx
jge 0x4bdc95
test bl, 0x82
je 0x4bdc66
cmp word [esi + 0x20], 0
jl 0x4bdc66
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.0045aca0
mov ebx, eax
test ebx, ebx
jne 0x4bdc0a
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x400
je 0x4bdc1d
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
jmp 0x4bdc23
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test dword [edx + 4], 0x200
jne 0x4bdc46
test edi, edi
je 0x4bdc39
test dword [edi + 4], 0x200
jne 0x4bdc44
mov ecx, esi
call fcn.0045aca0
test eax, eax
jne 0x4bdc51
mov edx, edi
mov ecx, esi
call fcn.0045aca0
test eax, eax
je 0x4bdc95
mov edi, dword [eax]
mov edx, dword [ebx]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x4bdc80
test eax, eax
jne 0x4bdc92
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
or edx, dword [esp + 0x50]
or edi, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edi
jmp 0x4bdc99
movzx ecx, byte [eax + 0x55c130]
movzx eax, byte [esi + 0x55c130]
sub ecx, eax
jne 0x4bdc95
inc edx
jmp 0x4bdc57
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
inc eax
add dword [esp + 0x2c], 0x14
mov ebx, dword [esp + 0x2c]
movzx ecx, dx
mov dword [esp + 0x30], eax
cmp eax, ecx
jl 0x4bdaf0
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
test eax, 0x1000
jne 0x4be0f7
test eax, 0x100
je 0x4bdcea
mov dword [esp + 0x58], 0
mov ecx, 1
mov dword [esp + 0x50], 0
jmp 0x4bdd26
mov edx, dword [esi + 0x20]
mov dword [esp + 0x58], edx
test edx, edx
je 0x4be2ed
test byte [edx + 0x38], 4
jne 0x4be2ed
cmp byte [edx + 0x36], 0
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x50], ecx
movzx ecx, word [edx + 0x34]
je 0x4bdd21
mov byte [esp + 0x1c], 1
test eax, 0x8000
je 0x4bdd26
mov byte [esp + 0x1c], 0
xor al, al
xor dl, dl
mov byte [esp + 0x1b], al
mov dword [esp + 0x30], eax
movzx eax, cx
mov byte [esp + 0x1a], dl
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x48], eax
test eax, eax
je 0x4be0f7
mov dword [esp + 0x34], edx
nop
movzx ebx, word [esi + 0x18]
mov byte [esp + 0x13], 1
cmp edx, ebx
jge 0x4bddca
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x4bddca
mov edi, dword [esi + 0x38]
mov eax, dword [esp + 0x7c]
mov esi, dword [edi + edx*4]
movzx ecx, word [esi + 0xc]
and eax, ecx
test ax, ax
je 0x4bdd98
mov eax, dword [esp + 0x1c]
test ecx, 0x180
mov ecx, 0
movzx eax, al
cmove ecx, eax
mov byte [esp + 0x1c], cl
jmp 0x4be0da
test cl, 1
je 0x4bddca
mov esi, dword [esi]
inc edx
cmp edx, ebx
jge 0x4bddc6
mov ecx, dword [esp + 0x24]
inc ecx
lea ecx, [edi + ecx*4]
nop dword [eax]
mov eax, dword [ecx]
cmp dword [eax], esi
je 0x4bddc0
inc edx
add ecx, 4
cmp edx, ebx
jl 0x4bddb0
jmp 0x4bddc6
xor al, al
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x58]
test esi, esi
je 0x4bddf6
mov eax, dword [esi + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], ecx
mov al, byte [edx + eax]
and al, 1
mov byte [esp + 0x19], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x4bde02
jmp 0x4bddfb
mov byte [esp + 0x19], 0
or ecx, 0xffffffff
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x1c]
test al, al
je 0x4bde37
test ecx, ecx
js 0x4bde28
cmp edx, ebx
jl 0x4bde37
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 4], 0xf
jne 0x4bde37
mov byte [esp + 0x1c], 0
jmp 0x4bde37
xor edx, edx
movzx eax, al
cmp ecx, 0xfffffffe
cmove eax, edx
mov dword [esp + 0x1c], eax
mov bh, byte [esp + 0x13]
xor edi, edi
test bh, bh
je 0x4bdfa9
mov esi, dword [esp + 0x40]
add esi, 8
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x38]
movzx eax, cx
cmp edi, eax
jge 0x4bdfa9
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x20]
and ecx, dword [esp + 0x14]
or edx, ecx
jne 0x4bdf99
mov edx, dword [esi]
test edx, edx
je 0x4bdf99
mov eax, dword [edx + 4]
test eax, 0x82000
je 0x4bdebd
test eax, 0x80000
je 0x4bdea9
mov edx, dword [edx + 0x14]
mov edx, dword [edx + 8]
jmp 0x4bdeb1
cmp byte [edx], 0x71
jne 0x4bdeb5
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4bde90
test edx, edx
je 0x4bdf99
mov al, byte [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
and al, 0xc0
neg al
sbb al, al
and bh, al
mov bl, bh
cmp ecx, 0xffffffff
jl 0x4bdefe
mov al, byte [edx]
cmp al, 0xa7
je 0x4bdee1
cmp al, 0xa9
jne 0x4bdf99
mov eax, dword [esp + 0x5c]
mov bh, bl
cmp dword [edx + 0x1c], eax
jne 0x4bdf99
movsx eax, word [edx + 0x20]
cmp eax, ecx
jne 0x4bdf99
jmp 0x4bdf48
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx + 8]
test eax, eax
je 0x4bdf21
test dword [eax + 4], 0x2000
je 0x4bdf21
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4bdf11
test dword [edx + 4], 0x2000
je 0x4bdf31
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4bdf21
push dword [esp + 0x5c]
xor ecx, ecx
push eax
call fcn.00465000
add esp, 8
test eax, eax
jne 0x4bdf99
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
je 0x4bdfeb
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [eax]
mov ecx, esi
mov edx, dword [edx]
call fcn.0045aca0
test eax, eax
jne 0x4bdf6d
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + ecx*4]
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4bdfd6
test ecx, ecx
jne 0x4bdfe8
mov bh, bl
test ecx, ecx
je 0x4bdfeb
mov esi, dword [esp + 0x3c]
add esi, 0x14
inc edi
mov dword [esp + 0x3c], esi
test bh, bh
jne 0x4bde50
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4bdfbc
mov eax, dword [esp + 0x50]
movzx eax, ax
cmp ecx, eax
jge 0x4bdfc1
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x30], 0
je 0x4be0f7
mov byte [esp + 0x1c], 1
jmp 0x4be102
movzx eax, byte [eax + 0x55c130]
movzx ecx, byte [ecx + 0x55c130]
sub ecx, eax
jne 0x4bdf8f
inc edx
jmp 0x4bdf80
cmp word [esp + 0x80], 0
mov esi, dword [esp + 0x28]
je 0x4be003
mov eax, dword [esp + 0x24]
inc eax
mov word [esi + 0x1e], ax
test byte [ebp + 0xc], 0x40
mov byte [esp + 0x13], 1
jne 0x4be080
mov ecx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov bh, byte [esp + 0x1b]
mov dl, byte [ecx + eax*4 + 0x10]
and dl, 1
test bh, bh
je 0x4be04c
mov dh, byte [esp + 0x1a]
xor ecx, ecx
mov bl, byte [esp + 0x19]
movzx eax, byte [esp + 0x13]
xor bl, dh
cmp bl, dl
mov byte [esp + 0x1a], dh
mov byte [esp + 0x1b], bh
cmove ecx, eax
test cl, cl
je 0x4bdfa9
jmp 0x4be080
xor dl, byte [esp + 0x19]
mov byte [esp + 0x1a], dl
je 0x4be07b
mov eax, dword [esp + 0x68]
xor ecx, ecx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x94]
cmovae edx, ecx
or dword [eax], ecx
or dword [eax + 4], edx
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x40]
lea eax, [edi + edi*4]
mov edx, dword [esp + 0x24]
test byte [ecx + eax*4 + 0x10], 2
je 0x4be0a5
movzx eax, word [esi + 0x18]
cmp edx, eax
jne 0x4bdfa9
or dword [esi + 0x2c], 0x80000
cmp dword [esp + 0x2c], 0xffffffff
mov ecx, 1
mov eax, dword [esp + 0x30]
movzx eax, al
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x30], eax
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
cmovae ecx, eax
or dword [esp + 0x20], eax
or dword [esp + 0x14], ecx
add dword [esp + 0x34], 0x14
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x48]
jge 0x4bdfc1
mov esi, dword [esp + 0x28]
jmp 0x4bdd50
cmp byte [esp + 0x1c], 0
je 0x4be22f
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
or eax, dword [ecx + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x3c], eax
cmp word [esp + 0x38], ax
je 0x4be233
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x30], ebx
nop dword [eax]
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [esp + 0x20]
mov eax, edi
and eax, edx
or ecx, eax
jne 0x4be20e
mov ebx, dword [ebx]
test ebx, ebx
je 0x4be182
mov ecx, dword [esp + 0x44]
mov edx, ebx
lea ecx, [ecx + 0x1f0]
call fcn.004b75e0
mov ecx, edx
jmp 0x4be193
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
or eax, ecx
mov dword [esp + 0x34], ecx
jne 0x4be1ea
mov dword [esp + 0x98], 0
mov eax, 1
mov word [esp + 0xac], ax
mov dword [esp + 0x9c], fcn.0045dbd0
mov dword [esp + 0xa0], 0x45d9c0
test ebx, ebx
je 0x4be1ea
mov edx, ebx
lea ecx, [esp + 0x98]
call fcn.00457010
cmp word [esp + 0xac], 0
je 0x4be20a
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
not ecx
and ecx, dword [esp + 0x50]
not eax
and eax, dword [esp + 0x34]
or ecx, eax
jne 0x4be20a
or dword [esp + 0x20], esi
or dword [esp + 0x14], edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
inc eax
add dword [esp + 0x30], 0x14
movzx ecx, bx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
cmp eax, ecx
jl 0x4be140
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
inc esi
mov dword [esp + 0x68], esi
test bl, bl
jne 0x4bda20
jmp 0x4be264
cmp byte [esi + 0x20], 0
je 0x4be28b
and eax, 0x280
cmp eax, 0x80
jne 0x4be272
mov eax, dword [esp + 0x6c]
cmp edx, dword [esp + 0x78]
jne 0x4be28b
cmp edi, eax
jne 0x4be28b
mov al, byte [esp + 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
test bl, bl
jne 0x4be31b
mov ecx, dword [esp + 0x38]
movzx eax, cx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x4be2ed
cmp ebx, 0x40
jge 0x4be2c5
xor ecx, ecx
xor edx, edx
mov eax, ebx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
jmp 0x4be2d6
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, ecx
mov esi, edx
and eax, dword [esp + 0x20]
and esi, edi
cmp eax, ecx
jne 0x4be2e8
cmp esi, edx
je 0x4be304
dec ebx
test ebx, ebx
jg 0x4be2a1
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
or al, 0xff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret