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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ef870
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 0x4caf2d
push eax
push eax
push 0xa214
lea ecx, [esp + 0xa0]
call fcn.005740d0
mov edx, dword [esp + 0xd4]
lea ecx, [esp + 0x254]
or dl, 0x80
mov dword [esp + 0xfac], 0
mov dword [esp + 0xd4], edx
call fcn.00575a10
mov ecx, dword [esi + 0xe0]
mov byte [esp + 0xfac], 1
mov eax, 0x64
mov edi, dword [ecx + 0x1b0]
test edi, edi
je 0x4ca2f1
mov ax, word [edi + 4]
and eax, 0xffff
mov dword [esp + 0x2e0], eax
add eax, 0xffffff9b
cmp eax, 4
ja case.default.0x4ca300
jmp dword [eax*4 + 0x4caf48]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2e4], eax
jmp 0x4ca31f
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.0x4ca300
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.0x4ca300
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [esp + 0x2e8], eax
jmp case.default.0x4ca300
mov di, word [edi + 0x10]
mov word [esp + 0x2f0], di
lea ecx, [esp + 0x45c]
call fcn.004e4390
lea ecx, [esp + 0xc40]
mov byte [esp + 0xfac], 2
call fcn.004e7d00
lea ecx, [esp + 0x90c]
mov byte [esp + 0xfac], 3
call fcn.004e66d0
lea ecx, [esp + 0x710]
mov byte [esp + 0xfac], 4
call fcn.004e8b80
lea ecx, [esp + 0x120]
mov byte [esp + 0xfac], 5
call fcn.005733f0
lea ecx, [esp + 0x254]
mov byte [esp + 0xfac], 6
push ecx
lea ecx, [esp + 0x98]
call fcn.005d8a68
lea edx, [esp + 0x45c]
lea ecx, [esp + 0x94]
push edx
call fcn.005d8a68
lea eax, [esp + 0x90c]
lea ecx, [esp + 0x94]
push eax
call fcn.005d8a68
lea ecx, [esp + 0x710]
push ecx
lea ecx, [esp + 0x98]
call fcn.005d8a68
lea edx, [esp + 0xc40]
lea ecx, [esp + 0x94]
push edx
call fcn.005d8a68
lea eax, [esp + 0x120]
lea ecx, [esp + 0x94]
push eax
call fcn.005d8a68
mov edi, dword [ebp + 0x19c]
mov ebp, dword [edi + 0x90]
test ebp, ebp
je 0x4ca49d
push 0x34
call fcn.005c4255
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0xfac], 7
je 0x4ca48c
mov ebp, dword [ebp + 0x88]
mov ecx, eax
push ebp
call fcn.00553c80
jmp 0x4ca48e
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.005c464d
lea ecx, [esp + 0x10]
mov byte [esp + 0xfac], 6
call fcn.005c4514
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 0x4ca5d6
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.004d8a50
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.004d8cd0
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.005c353e
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0xfb0], 9
call fcn.004d3e90
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
push eax
mov ecx, esi
call fcn.004c2b90
mov edi, eax
cmp edi, ebx
je 0x4ca6b1
lea edx, [esp + 0x48]
push edx
push edi
jmp 0x4ca6b7
lea eax, [esp + 0x48]
push eax
push ebp
mov ecx, esi
call fcn.004d74b0
cmp dword [esp + 0x50], ebx
je 0x4ca6f0
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.005c353e
test edi, edi
mov byte [esp + 0xfac], 0xa
je 0x4ca70d
lea ecx, [esp + 0x34]
push ecx
push edi
jmp 0x4ca713
lea edx, [esp + 0x34]
push edx
push ebp
mov ecx, esi
call fcn.004d74f0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4ca74e
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 0x4ca88a
lea edx, [esp + 0x10]
mov dword [esp + 0x1b0], ecx
push edx
mov ecx, ebp
call fcn.004caf80
mov eax, dword [esp + 0x10]
mov bl, 0xb
mov byte [esp + 0xfac], bl
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4ca838
push 0xa218
lea ecx, [esp + 0x14]
call fcn.005cb00c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.005336c0
push eax
lea ecx, [esp + 0x254]
mov byte [esp + 0xfb0], 0xc
call fcn.005c464d
lea ecx, [esp + 0x1c]
mov byte [esp + 0xfac], bl
call fcn.005c4514
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, word [ebp + 0xa8]
mov byte [esp + 0xfac], 0xa
mov dword [esp + 0x1bc], edx
call fcn.005c4514
lea ecx, [esp + 0x94]
call fcn.005d8860
cmp eax, 1
jne 0x4cae7c
mov edi, dword [esp + 0xfb4]
mov ecx, edi
call fcn.005c9765
push 0xa
lea ecx, [esp + 0x7c]
mov dword [0x1e355e0], 1
call fcn.005c332d
mov ebx, 0x1d77618
mov dword [esp + 0x78], ebx
push 0xa
lea ecx, [esp + 0x60]
mov byte [esp + 0xfb0], 0xd
call fcn.005c332d
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 0x4ca938
push ebp
mov ecx, esi
call fcn.004d50f0
mov edi, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x80]
mov ebx, eax
test ebx, ebx
je 0x4ca931
push edi
lea ecx, [esp + 0x60]
call fcn.005c33bf
push ebx
lea ecx, [esp + 0x7c]
call fcn.005c33bf
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x4ca8fa
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.00521360
mov ebx, dword [esp + 0x11c]
lea eax, [esp + 0x45c]
cmp ebx, eax
jne 0x4caa38
push ecx
lea edx, [esp + 0x6f0]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005c4289
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 0x4ca9ef
mov edx, dword [esi]
push 0x2bc
push edi
mov ecx, esi
call dword [edx + 0x138]
jmp 0x4ca9ff
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 0x4caab3
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 0x4cab33
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 0x4caafa
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 0x4cabc3
mov edx, dword [esp + 0x9f0]
mov eax, dword [esp + 0x9c8]
push edx
push eax
push edi
mov ecx, esi
call fcn.004d8870
mov ecx, dword [esp + 0x9f8]
mov edx, dword [esp + 0x9d0]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004d89a0
mov eax, dword [esp + 0x9fc]
mov ecx, dword [esp + 0x9d4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004d8af0
mov edx, dword [esp + 0x9f4]
mov eax, dword [esp + 0x9cc]
push edx
push eax
push edi
mov ecx, esi
call fcn.004d8c20
cmp dword [esi + 0xd4], 1
jl 0x4cabc3
mov ecx, dword [esp + 0xa1c]
mov edx, dword [esp + 0xa18]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004d8d70
lea eax, [esp + 0x254]
cmp ebx, eax
jne 0x4cad55
mov ebx, dword [esi + 0xd4]
xor ebp, ebp
test ebx, ebx
jle 0x4cad55
mov ecx, dword [esp + 0x2e0]
xor eax, eax
add ecx, 0xffffff9b
cmp ecx, 5
ja case.default.0x4cabf7
jmp dword [ecx*4 + 0x4caf5c]
push 0x1c
call fcn.005c4255
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0xf
je 0x4cad32
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.005771b0
jmp 0x4cad34
push 0x1c
call fcn.005c4255
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x10
je 0x4cad32
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.00577790
jmp 0x4cad34
push 0x18
call fcn.005c4255
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x11
je 0x4cad32
mov edx, dword [esp + 0x2e8]
mov ecx, dword [esp + 0x2ee]
push edx
push ecx
mov ecx, eax
call fcn.005782f0
jmp 0x4cad34
push 0x14
call fcn.005c4255
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x12
je 0x4cad32
mov edx, dword [esp + 0x2e8]
mov ecx, eax
push edx
call fcn.00577df0
jmp 0x4cad34
push 0x14
call fcn.005c4255
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x13
je 0x4cad32
mov ecx, dword [esp + 0x2f0]
push ecx
mov ecx, eax
call fcn.005788d0
jmp 0x4cad34
push 0x10
call fcn.005c4255
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x14
je 0x4cad32
mov ecx, eax
call fcn.00578f70
jmp 0x4cad34
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.0054dbe0
inc ebp
cmp ebp, ebx
jl 0x4cabe2
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x120]
cmp ecx, eax
jne 0x4cae50
mov ebx, dword [esi + 0xd4]
xor ebp, ebp
test ebx, ebx
jle 0x4cadb7
push ebp
mov ecx, esi
call fcn.004d50f0
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 0x4cad77
cmp ebx, 1
jne 0x4cae50
mov edx, dword [0x1dd7e58]
mov dword [esp + 0x10], edx
push 0xa218
lea ecx, [esp + 0x14]
mov byte [esp + 0xfb0], 0x15
call fcn.005cb00c
push ecx
lea eax, [esp + 0x254]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.005c4289
mov ecx, dword [esp + 0x30]
call fcn.004bd900
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.005c4514
lea ecx, [esp + 0x5c]
mov dword [0x1e355e0], 0
mov byte [esp + 0xfac], 0xd
call fcn.005c336c
lea ecx, [esp + 0x78]
mov byte [esp + 0xfac], 0xa
call fcn.005c336c
lea ecx, [esp + 0x34]
mov byte [esp + 0xfac], 9
call fcn.005c3571
lea ecx, [esp + 0x48]
mov byte [esp + 0xfac], 6
call fcn.005c3571
lea ecx, [esp + 0x120]
mov byte [esp + 0xfac], 5
call fcn.00573530
lea ecx, [esp + 0x710]
mov byte [esp + 0xfac], 4
call fcn.004e8dc0
lea ecx, [esp + 0x90c]
mov byte [esp + 0xfac], 3
call fcn.004e69b0
lea ecx, [esp + 0xc40]
mov byte [esp + 0xfac], 2
call fcn.004e7e40
lea ecx, [esp + 0x45c]
mov byte [esp + 0xfac], 1
call fcn.004e44f0
lea ecx, [esp + 0x254]
mov byte [esp + 0xfac], 0
call fcn.00575b30
lea ecx, [esp + 0x94]
mov dword [esp + 0xfac], 0xffffffff
call fcn.00574120
mov ecx, dword [esp + 0xfa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfa0
ret 4