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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fec20
push eax
mov dword fs:[0], esp
sub esp, 0xf94
push ebx
push ebp
mov ebp, dword [esp + 0xfac]
push esi
mov esi, ecx
push edi
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x108]
mov ebx, eax
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x4d74fd
push eax
push eax
push 0xa214
lea ecx, [esp + 0xa0]
call fcn.005802c0
mov edx, dword [esp + 0xd4]
lea ecx, [esp + 0x254]
or dl, 0x80
mov dword [esp + 0xfac], 0
mov dword [esp + 0xd4], edx
call fcn.00581c40
mov ecx, dword [esi + 0xe0]
mov byte [esp + 0xfac], 1
mov eax, 0x64
mov edi, dword [ecx + 0x1b0]
test edi, edi
je 0x4d68c1
mov ax, word [edi + 4]
and eax, 0xffff
mov dword [esp + 0x2e0], eax
add eax, 0xffffff9b
cmp eax, 4
ja case.default.0x4d68d0
jmp dword [eax*4 + 0x4d7518]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2e4], eax
jmp 0x4d68ef
mov ax, word [edi + 0x10]
mov word [esp + 0x2ee], ax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
mov dword [esp + 0x2e8], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov word [esp + 0x2ec], ax
jmp case.default.0x4d68d0
mov ax, word [edi + 0x10]
mov ecx, edi
mov word [esp + 0x2ee], ax
mov edx, dword [edi]
call dword [edx + 0x24]
mov dword [esp + 0x2e8], eax
jmp case.default.0x4d68d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [esp + 0x2e8], eax
jmp case.default.0x4d68d0
mov di, word [edi + 0x10]
mov word [esp + 0x2f0], di
lea ecx, [esp + 0x45c]
call fcn.004f0770
lea ecx, [esp + 0xc40]
mov byte [esp + 0xfac], 2
call fcn.004f4080
lea ecx, [esp + 0x90c]
mov byte [esp + 0xfac], 3
call fcn.004f2a50
lea ecx, [esp + 0x710]
mov byte [esp + 0xfac], 4
call fcn.004f4f50
lea ecx, [esp + 0x120]
mov byte [esp + 0xfac], 5
call fcn.0057f5e0
lea ecx, [esp + 0x254]
mov byte [esp + 0xfac], 6
push ecx
lea ecx, [esp + 0x98]
call fcn.005e7dfd
lea edx, [esp + 0x45c]
lea ecx, [esp + 0x94]
push edx
call fcn.005e7dfd
lea eax, [esp + 0x90c]
lea ecx, [esp + 0x94]
push eax
call fcn.005e7dfd
lea ecx, [esp + 0x710]
push ecx
lea ecx, [esp + 0x98]
call fcn.005e7dfd
lea edx, [esp + 0xc40]
lea ecx, [esp + 0x94]
push edx
call fcn.005e7dfd
lea eax, [esp + 0x120]
lea ecx, [esp + 0x94]
push eax
call fcn.005e7dfd
mov edi, dword [ebp + 0x19c]
mov ebp, dword [edi + 0x90]
test ebp, ebp
je 0x4d6a6d
push 0x34
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0xfac], 7
je 0x4d6a5c
mov ebp, dword [ebp + 0x88]
mov ecx, eax
push ebp
call fcn.0055fe90
jmp 0x4d6a5e
xor eax, eax
mov byte [esp + 0xfac], 6
mov dword [esp + 0x4f8], eax
mov edi, dword [edi + 0x94]
mov edx, dword [esi]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x504], edi
mov dword [esp + 0x38], 0
call dword [edx + 0x14c]
push eax
lea ecx, [esp + 0x6f0]
mov byte [esp + 0xfb0], 8
call fcn.005d39e2
lea ecx, [esp + 0x10]
mov byte [esp + 0xfac], 6
call fcn.005d38a9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1d4]
mov dword [esp + 0x6fc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x708], eax
call dword [edx + 0x188]
mov dword [esp + 0x6f0], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x6f4], eax
call dword [edx + 0x148]
mov dword [esp + 0x6f8], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
xor ecx, ecx
cmp eax, 0x2bc
sete cl
mov dword [esp + 0x700], ecx
mov ecx, esi
call dword [edx + 0x164]
mov dword [esp + 0x704], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x190]
mov ebp, dword [esi + 0xe0]
mov dword [esp + 0x70c], eax
mov eax, dword [esi + 0xd4]
xor ecx, ecx
cmp eax, 1
mov dword [esp + 0x998], ebx
sete cl
mov dword [esp + 0x79c], ebx
mov dword [esp + 0x99c], ecx
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x2c], ebp
call dword [edx + 0x1e8]
test eax, eax
je 0x4d6ba6
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1e8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x80]
mov dword [esp + 0x7ac], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x200]
mov dword [esp + 0x7b0], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1e0]
mov dword [esp + 0x7a0], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1f0]
mov dword [esp + 0x7a8], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1f8]
mov dword [esp + 0x7a4], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.004e5060
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x9d0], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0xa00], eax
call fcn.004e52e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9f4], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x9cc], eax
call fcn.005d299c
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0xfb0], 9
call fcn.004e04a0
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
push eax
mov ecx, esi
call fcn.004cf160
mov edi, eax
cmp edi, ebx
je 0x4d6c81
lea edx, [esp + 0x48]
push edx
push edi
jmp 0x4d6c87
lea eax, [esp + 0x48]
push eax
push ebp
mov ecx, esi
call fcn.004e3ac0
cmp dword [esp + 0x50], ebx
je 0x4d6cc0
mov ecx, dword [esp + 0x4c]
push 1
mov ebx, dword [ecx]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x208]
mov dword [esp + 0x9c8], eax
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x210]
mov dword [esp + 0x9f0], eax
lea ecx, [esp + 0x34]
call fcn.005d299c
test edi, edi
mov byte [esp + 0xfac], 0xa
je 0x4d6cdd
lea ecx, [esp + 0x34]
push ecx
push edi
jmp 0x4d6ce3
lea edx, [esp + 0x34]
push edx
push ebp
mov ecx, esi
call fcn.004e3b00
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d6d1e
mov eax, dword [esp + 0x38]
push 0
mov edi, dword [eax]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x208]
mov dword [esp + 0x9d4], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x210]
mov dword [esp + 0x9fc], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a0]
mov dword [esp + 0xccc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0xcd0], eax
call dword [edx + 0x1a8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xfa0], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1bc]
mov edx, dword [eax]
mov dword [esp + 0xcd4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xcd8], ecx
mov ecx, ebp
mov edx, dword [eax + 8]
mov dword [esp + 0xcdc], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0xce0], eax
mov edx, dword [ebp]
call dword [edx + 0x220]
mov dword [esp + 0x23c], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x228]
mov dword [esp + 0x238], eax
mov ecx, dword [ebp + 0x1ec]
mov eax, dword [esi + 0xd4]
mov dword [esp + 0x248], ecx
mov ecx, 5
cmp eax, 1
mov dword [esp + 0x1b8], ecx
jne 0x4d6e5a
lea edx, [esp + 0x10]
mov dword [esp + 0x1b0], ecx
push edx
mov ecx, ebp
call fcn.004d7550
mov eax, dword [esp + 0x10]
mov bl, 0xb
mov byte [esp + 0xfac], bl
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4d6e08
push 0xa218
lea ecx, [esp + 0x14]
call fcn.005da3a1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.00541440
push eax
lea ecx, [esp + 0x254]
mov byte [esp + 0xfb0], 0xc
call fcn.005d39e2
lea ecx, [esp + 0x1c]
mov byte [esp + 0xfac], bl
call fcn.005d38a9
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, word [ebp + 0xa8]
mov byte [esp + 0xfac], 0xa
mov dword [esp + 0x1bc], edx
call fcn.005d38a9
lea ecx, [esp + 0x94]
call fcn.005e7bf5
cmp eax, 1
jne 0x4d744c
mov edi, dword [esp + 0xfb4]
mov ecx, edi
call fcn.005d8af7
push 0xa
lea ecx, [esp + 0x7c]
mov dword [0x1ae9e8c], 1
call fcn.005d27c7
mov ebx, 0x1a28f38
mov dword [esp + 0x78], ebx
push 0xa
lea ecx, [esp + 0x60]
mov byte [esp + 0xfb0], 0xd
call fcn.005d27c7
mov dword [esp + 0x5c], ebx
mov eax, dword [esi + 0xd4]
xor ebp, ebp
test eax, eax
mov byte [esp + 0xfac], 0xe
mov dword [esp + 0x1c], eax
jle 0x4d6f08
push ebp
mov ecx, esi
call fcn.004e1700
mov edi, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x80]
mov ebx, eax
test ebx, ebx
je 0x4d6f01
push edi
lea ecx, [esp + 0x60]
call fcn.005d261b
push ebx
lea ecx, [esp + 0x7c]
call fcn.005d261b
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x4d6eca
mov edi, dword [esp + 0xfb4]
lea ecx, [esp + 0x78]
push 0
lea edx, [esp + 0x60]
push ecx
push edx
push 2
lea ecx, [edi + 0xb8]
call fcn.0052d750
mov ebx, dword [esp + 0x11c]
lea eax, [esp + 0x45c]
cmp ebx, eax
jne 0x4d7008
push ecx
lea edx, [esp + 0x6f0]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005d361e
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x150]
mov eax, dword [esp + 0x6fc]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1d0]
mov eax, dword [esp + 0x708]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x170]
mov eax, dword [esp + 0x6f4]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x180]
mov eax, dword [esp + 0x6f0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x184]
mov eax, dword [esp + 0x700]
test eax, eax
je 0x4d6fbf
mov edx, dword [esi]
push 0x2bc
push edi
mov ecx, esi
call dword [edx + 0x138]
jmp 0x4d6fcf
mov eax, dword [esi]
push 0x190
push edi
mov ecx, esi
call dword [eax + 0x138]
mov eax, dword [esp + 0x70c]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x18c]
mov eax, dword [esp + 0x704]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x168]
mov eax, dword [esp + 0x6f8]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x144]
lea ecx, [esp + 0xc40]
cmp ebx, ecx
jne 0x4d7083
mov eax, dword [esp + 0xccc]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1a4]
mov eax, dword [esp + 0xcd0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x19c]
mov eax, dword [esp + 0xfa0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1ac]
mov ecx, dword [esp + 0xcd4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0xcec]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xcf0]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xcf4]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x1b8]
lea edx, [esp + 0x710]
cmp ebx, edx
jne 0x4d7103
mov ecx, dword [esp + 0x7a0]
mov eax, dword [esi]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x1d8]
mov eax, dword [esp + 0x7ac]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1e4]
mov eax, dword [esp + 0x7ac]
test eax, eax
je 0x4d70ca
mov dword [esp + 0x7b0], 0
mov eax, dword [esp + 0x7b0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1fc]
mov eax, dword [esp + 0x7a8]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1ec]
mov eax, dword [esp + 0x7a4]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1f4]
lea ecx, [esp + 0x90c]
cmp ebx, ecx
jne 0x4d7193
mov edx, dword [esp + 0x9f0]
mov eax, dword [esp + 0x9c8]
push edx
push eax
push edi
mov ecx, esi
call fcn.004e4e80
mov ecx, dword [esp + 0x9f8]
mov edx, dword [esp + 0x9d0]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004e4fb0
mov eax, dword [esp + 0x9fc]
mov ecx, dword [esp + 0x9d4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004e5100
mov edx, dword [esp + 0x9f4]
mov eax, dword [esp + 0x9cc]
push edx
push eax
push edi
mov ecx, esi
call fcn.004e5230
cmp dword [esi + 0xd4], 1
jl 0x4d7193
mov ecx, dword [esp + 0xa1c]
mov edx, dword [esp + 0xa18]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004e5380
lea eax, [esp + 0x254]
cmp ebx, eax
jne 0x4d7325
mov ebx, dword [esi + 0xd4]
xor ebp, ebp
test ebx, ebx
jle 0x4d7325
mov ecx, dword [esp + 0x2e0]
xor eax, eax
add ecx, 0xffffff9b
cmp ecx, 5
ja case.default.0x4d71c7
jmp dword [ecx*4 + 0x4d752c]
push 0x1c
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0xf
je 0x4d7302
mov edx, dword [esp + 0x2ec]
mov ecx, dword [esp + 0x2e8]
push edx
mov edx, dword [esp + 0x2e8]
push ecx
push edx
mov ecx, eax
call fcn.005834d0
jmp 0x4d7304
push 0x1c
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x10
je 0x4d7302
mov ecx, dword [esp + 0x2ec]
mov edx, dword [esp + 0x2e8]
push ecx
mov ecx, dword [esp + 0x2f2]
push edx
push ecx
mov ecx, eax
call fcn.00583aa0
jmp 0x4d7304
push 0x18
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x11
je 0x4d7302
mov edx, dword [esp + 0x2e8]
mov ecx, dword [esp + 0x2ee]
push edx
push ecx
mov ecx, eax
call fcn.005845f0
jmp 0x4d7304
push 0x14
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x12
je 0x4d7302
mov edx, dword [esp + 0x2e8]
mov ecx, eax
push edx
call fcn.00584100
jmp 0x4d7304
push 0x14
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x13
je 0x4d7302
mov ecx, dword [esp + 0x2f0]
push ecx
mov ecx, eax
call fcn.00584bd0
jmp 0x4d7304
push 0x10
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x14
je 0x4d7302
mov ecx, eax
call fcn.005851b0
jmp 0x4d7304
xor eax, eax
mov byte [esp + 0xfac], 0xe
mov edx, dword [esi + 0xd0]
push eax
push edi
mov ecx, dword [edx + ebp*4]
call fcn.00559de0
inc ebp
cmp ebp, ebx
jl 0x4d71b2
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x120]
cmp ecx, eax
jne 0x4d7420
mov ebx, dword [esi + 0xd4]
xor ebp, ebp
test ebx, ebx
jle 0x4d7387
push ebp
mov ecx, esi
call fcn.004e1700
mov edi, eax
mov eax, dword [esp + 0x23c]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x21c]
mov eax, dword [esp + 0x238]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x224]
mov ecx, dword [esp + 0x248]
inc ebp
cmp ebp, ebx
mov dword [edi + 0x1ec], ecx
jl 0x4d7347
cmp ebx, 1
jne 0x4d7420
mov edx, dword [0x1a8db40]
mov dword [esp + 0x10], edx
push 0xa218
lea ecx, [esp + 0x14]
mov byte [esp + 0xfb0], 0x15
call fcn.005da3a1
push ecx
lea eax, [esp + 0x254]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.005d361e
mov ecx, dword [esp + 0x30]
call fcn.004c9f10
mov eax, dword [esi + 0xe0]
mov cx, word [esp + 0x1bc]
push 0
mov word [eax + 0xa8], cx
mov edx, dword [esi + 0xe0]
mov eax, dword [esp + 0x24c]
mov dword [edx + 0x1ec], eax
mov esi, dword [esi + 0xe0]
mov eax, dword [esp + 0xfb8]
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x9c]
lea ecx, [esp + 0x10]
mov byte [esp + 0xfac], 0xe
call fcn.005d38a9
lea ecx, [esp + 0x5c]
mov dword [0x1ae9e8c], 0
mov byte [esp + 0xfac], 0xd
call fcn.005d2806
lea ecx, [esp + 0x78]
mov byte [esp + 0xfac], 0xa
call fcn.005d2806
lea ecx, [esp + 0x34]
mov byte [esp + 0xfac], 9
call fcn.005d29cf
lea ecx, [esp + 0x48]
mov byte [esp + 0xfac], 6
call fcn.005d29cf
lea ecx, [esp + 0x120]
mov byte [esp + 0xfac], 5
call fcn.0057f720
lea ecx, [esp + 0x710]
mov byte [esp + 0xfac], 4
call fcn.004f5190
lea ecx, [esp + 0x90c]
mov byte [esp + 0xfac], 3
call fcn.004f2d30
lea ecx, [esp + 0xc40]
mov byte [esp + 0xfac], 2
call fcn.004f41c0
lea ecx, [esp + 0x45c]
mov byte [esp + 0xfac], 1
call fcn.004f08d0
lea ecx, [esp + 0x254]
mov byte [esp + 0xfac], 0
call fcn.00581d60
lea ecx, [esp + 0x94]
mov dword [esp + 0xfac], 0xffffffff
call fcn.00580310
mov ecx, dword [esp + 0xfa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfa0
ret 4