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

Disassembly:
sub esp, 0x90
mov edx, dword [esp + 0x94]
push ebp
xor ebp, ebp
xor ecx, ecx
mov eax, dword [edx + 0x10]
mov dword [esp + 4], ebp
test eax, 0xfffffffc
mov dword [esp + 0x14], ecx
jbe 0x4b51ae
push ebx
push esi
push edi
jmp 0x4b4a38
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + ecx*4 + 0x14]
xor eax, eax
mov ax, word [edx + ecx*4 + 0x14]
mov ecx, dword [0x6d67a8]
shr ebx, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
jne 0x4b4b2c
mov eax, dword [0x6d69f8]
mov dword [0x6573ac], ebp
cmp eax, 0xc
je 0x4b4b22
mov esi, dword [0x6d620c]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, 0x6d6208
call fcn.0045b490
cmp dword [eax], esi
jne 0x4b4b15
push 0x6d67a8
call fcn.00455af0
mov edx, 0x6d67a8
add esp, 4
test edx, edx
je 0x4b4b15
mov esi, dword [0x6d620c]
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, 0x6d6208
call fcn.0045b490
cmp dword [eax], esi
jne 0x4b4b15
mov ecx, dword [0x6d67a8]
lea edx, [esp + 0x54]
lea eax, [esp + 0x80]
mov dword [esp + 0x54], ecx
push edx
push eax
mov ecx, 0x6d6208
mov dword [esp + 0x60], ebp
call fcn.00474ab0
mov eax, dword [eax]
push 0x6d67a8
mov dword [eax + 0x10], 0x6d67a8
call fcn.00435520
add esp, 4
mov ecx, 0xa24690
push 0x6d67a8
call fcn.0047aa60
push 0x6d67a8
call fcn.004d9b90
add esp, 4
push 1
push ebx
mov ecx, 0x6d67a8
call fcn.00477840
call fcn.0057c320
jmp 0x4b518d
call fcn.004580a0
test eax, eax
je 0x4b4b48
mov edx, dword [0x6d719c]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edx]
jne 0x4b4b48
call fcn.004574c0
call fcn.004580b0
test eax, eax
je 0x4b4bb5
mov eax, dword [0x6d71a0]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax]
jne 0x4b4bb5
mov edx, dword [0x6d71a4]
mov eax, dword [0x6d71a8]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.0045f7e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [0xa4f19c]
mov eax, dword [esp + 0x24]
mov esi, dword [0xa4f198]
push ebp
sub ecx, edx
push 1
sub eax, esi
push 2
push ecx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
call fcn.00459650
push ebp
call fcn.00457f10
add esp, 0x20
mov ecx, dword [0xa56090]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jne 0x4b4ca0
cmp dword [0xcea298], ebp
je 0x4b4ca0
mov eax, dword [0xce8ee4]
cmp eax, 0x3e8
jae 0x4b4bea
cmp eax, 0x3ec
jae 0x4b4ca0
sub eax, 0x3e9
mov dword [0xcea298], ebp
mov dword [0xd04a84], ebp
je 0x4b4c29
dec eax
je 0x4b4c14
dec eax
jne 0x4b4c2e
push ebp
call fcn.004ea7f0
add esp, 4
mov dword [0xa56090], ebp
jmp 0x4b4c2e
cmp ecx, ebp
je 0x4b4c2e
push ebp
call fcn.004e9ff0
add esp, 4
mov dword [0xa56090], ebp
jmp 0x4b4c2e
call fcn.004e9a80
mov edi, 0x68ef6c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0xce8ad0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp word [0xd0696c], 2
rep movsb byte es:[edi], byte [esi]
jne 0x4b4c84
mov cx, word [0xd05910]
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x28], cx
mov word [esp + 0x2a], bp
call fcn.004e79e0
add esp, 4
mov word [0xd0696c], bp
jmp 0x4b4ca0
cmp word [0xa51230], bp
je 0x4b4ca0
push ebp
push ebp
push 4
mov word [0xa51230], bp
call fcn.005a07e0
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, 0x6d6208
call fcn.0045b490
mov eax, dword [eax]
mov ecx, dword [0x6d620c]
cmp eax, ecx
je 0x4b518d
mov ecx, dword [eax + 0x10]
cmp ecx, ebp
mov dword [esp + 0x10], ecx
je 0x4b518d
mov eax, dword [esp + 0x18]
cmp eax, 0xe000
jb 0x4b4dcf
cmp eax, 0xffff
ja 0x4b4dcf
push ecx
mov ebx, ecx
call fcn.00455e10
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebp
je 0x4b4dc9
cmp dword [0x6d6214], ebp
je 0x4b4dc9
mov edi, dword [0x6d620c]
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, 0x6d6208
mov esi, eax
call fcn.0045b820
mov eax, dword [eax]
mov ecx, dword [0x6d620c]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x4b4d47
mov edx, dword [esi]
mov esi, dword [eax + 0xc]
cmp edx, esi
jb 0x4b4d47
lea eax, [esp + 0x14]
jmp 0x4b4d4f
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x3c]
cmp dword [eax], edi
je 0x4b4dc9
mov eax, dword [esp + 0x10]
mov ecx, 0xa24690
push eax
call fcn.0047a980
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041dbd0
mov edx, dword [esp + 0x14]
push edx
call fcn.00435650
mov eax, dword [esp + 0x18]
mov ecx, dword [0xd11138]
add esp, 8
cmp ecx, eax
jne 0x4b4d8d
mov dword [0xd11138], ebp
push eax
lea eax, [esp + 0x94]
push eax
mov ecx, 0x6d6208
call fcn.0045b840
mov esi, dword [eax]
lea ecx, [esp + 0x30]
push ecx
mov edi, dword [eax + 4]
mov dword [esp + 0x34], ebp
push edi
push esi
call fcn.0045cce0
add esp, 0xc
lea edx, [esp + 0x6c]
mov ecx, 0x6d6208
push edi
push esi
push edx
call fcn.0045b310
push ebx
jmp 0x4b5181
cmp eax, 0xa000
jb 0x4b4ecc
cmp eax, 0xdfff
ja 0x4b4ecc
push ecx
mov ebx, ecx
call fcn.00455e10
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebp
je 0x4b4ec6
cmp dword [0x6d6214], ebp
je 0x4b4ec6
mov edi, dword [0x6d620c]
mov esi, eax
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, 0x6d6208
call fcn.0045b820
mov eax, dword [eax]
mov ecx, dword [0x6d620c]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x4b4e3f
mov edx, dword [esi]
mov esi, dword [eax + 0xc]
cmp edx, esi
jb 0x4b4e3f
lea eax, [esp + 0x14]
jmp 0x4b4e47
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x28]
cmp dword [eax], edi
je 0x4b4ec6
mov eax, dword [esp + 0x10]
mov ecx, 0xa24690
push eax
call fcn.0047a980
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041dbd0
mov edx, dword [esp + 0x14]
push edx
call fcn.00435650
mov eax, dword [esp + 0x18]
mov ecx, dword [0xd11138]
add esp, 8
cmp ecx, eax
jne 0x4b4e85
mov dword [0xd11138], ebp
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, 0x6d6208
call fcn.0045b840
mov esi, dword [eax]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x38]
push ecx
mov edi, dword [eax + 4]
push edx
push edi
push esi
mov dword [esp + 0x48], ebp
call fcn.004e5060
add esp, 0x10
lea eax, [esp + 0x4c]
mov ecx, 0x6d6208
push edi
push esi
push eax
call fcn.0045b310
push ebx
jmp 0x4b5181
cmp eax, 1
jb 0x4b518d
cmp eax, 0x7fff
ja 0x4b518d
cmp eax, 0x4000
jb 0x4b4f3c
push ebp
push 2
call fcn.0059d890
lea ecx, [esp + 0x10]
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, 0xd12338
call fcn.0045bb80
mov esi, dword [eax]
lea ecx, [esp + 0x48]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x4c]
push eax
push ecx
push edi
push esi
mov dword [esp + 0x58], ebp
call fcn.0045cdc0
add esp, 0x10
lea edx, [esp + 0x74]
mov ecx, 0xd12338
push edi
push esi
push edx
call fcn.0045ba30
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp eax, 0x6000
jb 0x4b508c
call fcn.0051bd80
test al, al
je 0x4b4f60
mov eax, dword [esp + 0x10]
mov dword [eax + 0x250], 0x21
jmp 0x4b4f6a
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x250], ebp
mov ecx, dword [esp + 0x10]
push 1
push ebx
call fcn.00477840
test ax, ax
jne 0x4b518d
mov edx, dword [esp + 0x10]
push edx
call fcn.004568f0
mov eax, dword [esp + 0x14]
push eax
call fcn.00455e10
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, ebp
je 0x4b507d
cmp dword [0x6d6214], ebp
je 0x4b507d
mov edi, dword [0x6d620c]
mov esi, ecx
push ecx
mov ecx, 0x6d6208
call fcn.00409380
mov ecx, dword [0x6d620c]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x4b4fde
mov edx, dword [esi]
mov esi, dword [eax + 0xc]
cmp edx, esi
jb 0x4b4fde
lea eax, [esp + 0x14]
jmp 0x4b4fe6
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x40]
cmp dword [eax], edi
je 0x4b5079
mov eax, dword [esp + 0x10]
mov ecx, 0xa24690
push eax
call fcn.0047a980
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041dbd0
mov edx, dword [esp + 0x14]
push edx
call fcn.00435650
mov eax, dword [esp + 0x18]
mov ecx, dword [0xd11138]
add esp, 8
cmp ecx, eax
jne 0x4b5028
mov dword [0xd11138], ebp
mov esi, eax
push eax
lea eax, [esp + 0x74]
mov ecx, 0x6d6208
push eax
call fcn.0045bf90
lea ecx, [esp + 0x50]
push esi
push ecx
mov ecx, 0x6d6208
mov edi, eax
call fcn.0045b820
mov esi, dword [eax]
mov edx, dword [esp + 0x50]
mov edi, dword [edi]
lea eax, [esp + 0x2c]
push edx
push eax
push edi
push esi
mov dword [esp + 0x3c], ebp
call fcn.004e5060
add esp, 0x10
lea ecx, [esp + 0x60]
push edi
push esi
push ecx
mov ecx, 0x6d6208
call fcn.0045b310
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
mov esi, ecx
je 0x4b5189
jmp 0x4b517b
push ecx
call fcn.004568f0
mov edx, dword [esp + 0x14]
push edx
call fcn.00455e10
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, ebp
je 0x4b5175
cmp dword [0x6d6214], ebp
je 0x4b5175
mov edi, dword [0x6d620c]
mov esi, ecx
push ecx
mov ecx, 0x6d6208
call fcn.00409380
mov ecx, dword [0x6d620c]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x4b50e7
mov edx, dword [esi]
mov esi, dword [eax + 0xc]
cmp edx, esi
jb 0x4b50e7
lea eax, [esp + 0x14]
jmp 0x4b50ef
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x34]
cmp dword [eax], edi
je 0x4b5171
mov eax, dword [esp + 0x10]
mov ecx, 0xa24690
push eax
call fcn.0047a980
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041dbd0
mov edx, dword [esp + 0x14]
push edx
call fcn.00435650
mov eax, dword [esp + 0x18]
mov ecx, dword [0xd11138]
add esp, 8
cmp ecx, eax
jne 0x4b512d
mov dword [0xd11138], ebp
push eax
mov ecx, 0x6d6208
mov esi, eax
call fcn.0045c990
push esi
mov ecx, 0x6d6208
mov edi, eax
call fcn.00409380
mov esi, eax
cmp esi, edi
mov dword [esp + 0x14], esi
je 0x4b5160
lea ecx, [esp + 0x14]
call fcn.0044ea10
cmp dword [esp + 0x14], edi
jne 0x4b5151
push edi
lea eax, [esp + 0x68]
push esi
push eax
mov ecx, 0x6d6208
call fcn.0045b310
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
mov esi, ecx
je 0x4b5189
call fcn.004775c0
push esi
call fcn.006066eb
add esp, 4
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x20]
inc eax
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
shr edx, 2
cmp eax, edx
jb 0x4b4a2d
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x90
ret