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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x41dc]
mov ecx, dword [ebp + 0x41d8]
push eax
push ecx
lea ecx, [ebp + 0x2f30]
call fcn.00549a70
mov edx, dword [ebp + 0x41dc]
mov eax, dword [ebp + 0x41d8]
add edx, 7
push edx
add eax, 7
push eax
lea ecx, [ebp + 0x2f40]
call fcn.00549a70
push 0x143c
call fcn.0041d4a0
add esp, 4
lea edx, [esp + 0xc0]
mov edi, edi
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x49a5c0
mov eax, 0x21fe66c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49a5d2
sub eax, edx
mov dword [esp + 0x14], eax
je 0x49a64d
mov eax, 0x21fe66c
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49a5f0
push 0
sub eax, edx
push eax
push 0x21fe66c
mov ecx, 0x2209408
call fcn.005430a0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x6bc860]
call fcn.005cd414
mov ecx, dword [ebp + 0x41dc]
mov edx, dword [ebp + 0x41d8]
push 0x21fe66c
push 0
push 0xffffffffffffffff
add ecx, 0x16
sub edx, eax
push ecx
add edx, 0x86
push edx
push 0x2209408
call fcn.005418c0
add esp, 0x18
lea eax, [esp + 0xc0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49a657
sub eax, edx
mov dword [esp + 0x14], eax
je 0x49a6d3
lea eax, [esp + 0xc0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49a670
sub eax, edx
push 0
push eax
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x2209408
call fcn.005430a0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x6bc860]
call fcn.005cd414
mov edx, dword [ebp + 0x41dc]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [ebp + 0x41d8]
push 0
push 0xffffffffffffffff
add edx, 0x2f
sub ecx, eax
push edx
add ecx, 0x86
push ecx
push 0x2209408
call fcn.005418c0
add esp, 0x18
mov ecx, 0x2209408
call fcn.005bfb50
mov edx, dword [ebp + 0x41dc]
mov eax, dword [ebp + 0x41d8]
push edx
xor esi, esi
push eax
lea ecx, [ebp + 0x68]
mov dword [esp + 0x30], esi
call fcn.00528b00
mov ecx, dword [ebp + 0x41dc]
mov edx, dword [ebp + 0x41d8]
push ecx
push edx
lea ecx, [ebp + 0x640]
call fcn.00528b00
mov eax, dword [ebp + 0x41dc]
mov ecx, dword [ebp + 0x41d8]
push eax
push ecx
lea ecx, [ebp + 0xc18]
call fcn.00528b00
mov edx, dword [ebp + 0x41dc]
mov eax, dword [ebp + 0x41d8]
push edx
push eax
lea ecx, [ebp + 0x11f0]
call fcn.00528b00
mov ebx, dword [0x2201308]
mov ecx, dword [0x2201304]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x14], edi
jne 0x49a75e
xor eax, eax
jmp 0x49a765
mov eax, ebx
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x49a9a9
test ecx, ecx
jne 0x49a775
xor eax, eax
jmp 0x49a77c
mov eax, ebx
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x49a9a3
lea eax, [ecx + edi*4]
mov dword [0x2201310], eax
mov edx, dword [eax]
test edx, edx
mov dword [esp + 0x18], edx
je 0x49a9a3
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fcomp dword [ebp + 0x4184]
fnstsw ax
test ah, 5
jnp 0x49a9a3
mov eax, dword [ebp + 0x2f74]
test eax, eax
mov byte [esp + 0x20], 0x82
mov byte [esp + 0x1c], 0x80
mov byte [esp + 0x24], 0x78
jne 0x49a81e
mov eax, dword [ebp + 0x41d8]
mov ecx, dword [0x71c2a4]
lea edi, [eax + 0x112]
cmp ecx, edi
jl 0x49a81e
add eax, 0x230
cmp ecx, eax
jg 0x49a81e
mov ecx, dword [ebp + 0x41dc]
lea eax, [esi + ecx]
mov ecx, dword [0x71c2a8]
lea edi, [eax + 0x6e]
cmp ecx, edi
jl 0x49a81e
add eax, 0x80
cmp ecx, eax
jg 0x49a81e
mov byte [esp + 0x20], 0xaa
mov byte [esp + 0x1c], 0xaa
mov byte [esp + 0x24], 0xaa
mov eax, dword [ebp + 0x2f50]
cmp eax, dword [edx]
jne 0x49a837
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x24], 0xff
mov al, byte [edx + 0x73]
mov cl, byte [0x22013b0]
mov edx, dword [ebp + 0x41dc]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
cmp al, cl
mov ecx, dword [esp + 0x20]
jbe 0x49a8b1
push 0x6c174c
push 0
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0x41d8]
lea eax, [esi + edx + 0x6e]
push eax
add ecx, 0x112
push ecx
push 0x2209408
call fcn.00541930
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 0x41dc]
push 0x6c174c
push 0
push edi
push ebx
push edx
mov edx, dword [ebp + 0x41d8]
lea ecx, [esi + eax + 0x6e]
push ecx
add edx, 0x19f
push edx
push 0x2209408
call fcn.00541930
add esp, 0x40
jmp 0x49a916
movzx eax, al
push eax
push 0x6c1020
push 0
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0x41d8]
lea eax, [esi + edx + 0x6e]
push eax
add ecx, 0x112
push ecx
push 0x2209408
call fcn.00541930
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x74]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 0x41dc]
push eax
push 0x6bcafc
push 0
push edi
push ebx
push ecx
mov ecx, dword [ebp + 0x41d8]
lea eax, [esi + edx + 0x6e]
push eax
add ecx, 0x19f
push ecx
push 0x2209408
call fcn.00541930
add esp, 0x48
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x41dc]
add edx, 4
push edx
push 0x6be170
push 0
push edi
push ebx
push eax
mov eax, dword [ebp + 0x41d8]
lea edx, [esi + ecx + 0x6e]
push edx
add eax, 0x131
push eax
push 0x2209408
call fcn.00541930
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x41dc]
add ecx, 0x1d
push ecx
push 0x6be170
push 0
push edi
push ebx
push edx
mov edx, dword [ebp + 0x41d8]
lea ecx, [esi + eax + 0x6e]
push ecx
add edx, 0x1e0
push edx
push 0x2209408
call fcn.00541930
add esi, 0x1b
add esp, 0x48
cmp esi, 0x144
jg 0x49a9a9
mov ebx, dword [0x2201308]
mov ecx, dword [0x2201304]
mov edi, dword [esp + 0x14]
inc edi
jmp 0x49a752
mov ecx, 0x2209408
call fcn.005bfb50
mov eax, dword [ebp + 0x41dc]
mov ecx, dword [ebp + 0x41d8]
push eax
push ecx
lea ecx, [ebp + 0x2f7c]
call fcn.0052b6f0
mov edx, dword [ebp + 0x41dc]
mov eax, dword [ebp + 0x41d8]
push edx
push eax
lea ecx, [ebp + 0x59b0]
call fcn.0052b6f0
fld dword [ebp + 0x6bb8]
lea esi, [ebp + 0x5940]
call fcn.005cd414
push eax
mov ecx, esi
call fcn.0052cd00
mov ecx, dword [ebp + 0x41dc]
mov edx, dword [ebp + 0x41d8]
push 0xff2a2a2a
push 0
push ecx
push edx
mov ecx, esi
call fcn.0052d030
mov eax, dword [ebp + 0x41dc]
mov ecx, dword [ebp + 0x41d8]
push eax
push ecx
lea ecx, [ebp + 0x41e0]
call fcn.00528b00
mov edx, dword [ebp + 0x41dc]
mov eax, dword [ebp + 0x41d8]
push edx
push eax
lea ecx, [ebp + 0x47b8]
call fcn.00528b00
mov ecx, dword [ebp + 0x41dc]
mov edx, dword [ebp + 0x41d8]
push ecx
push edx
lea ecx, [ebp + 0x4d90]
call fcn.00528b00
mov eax, dword [ebp + 0x41dc]
mov ecx, dword [ebp + 0x41d8]
push eax
push ecx
lea ecx, [ebp + 0x5368]
call fcn.00528b00
mov edx, dword [ebp + 0x41dc]
mov eax, dword [ebp + 0x41d8]
push edx
push eax
lea ecx, [ebp + 0x6c0c]
call fcn.00528b00
mov ecx, dword [ebp + 0x41dc]
mov edx, dword [ebp + 0x41d8]
push ecx
push edx
lea ecx, [ebp + 0x2958]
call fcn.00528b00
mov eax, dword [0x719a58]
mov ebx, 1
cmp eax, ebx
jne 0x49ad81
cmp dword [ebp + 0x2f78], 4
jne 0x49ad81
mov esi, dword [ebp + 0x41dc]
mov edi, dword [ebp + 0x41d8]
add esi, 0x8c
add edi, 0xa0
push esi
push edi
lea ecx, [ebp + 4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
call fcn.00549a70
push esi
push edi
lea ecx, [ebp + 0x17c8]
call fcn.00528b00
push esi
push edi
lea ecx, [ebp + 0x1da0]
call fcn.00528b00
cmp dword [ebp + 0x2378], ebx
jne 0x49ad0f
lea eax, [ebp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49ab25
push 0
sub eax, edx
push eax
lea ebx, [ebp + 0x24]
push ebx
mov ecx, 0x2209408
call fcn.005430a0
cmp eax, 0xc8
jle 0x49acc1
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov al, byte [ebp + 0x24]
xor ebx, ebx
test al, al
je 0x49ac5a
mov al, byte [ebx + ebp + 0x24]
test al, al
lea edi, [ebx + ebp + 0x24]
je 0x49ac5a
xor ecx, ecx
mov dword [esp + 0x18], 0
mov cl, byte [edi]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0040a460
mov ecx, dword [esp + 0x20]
mov edx, ecx
mov esi, edi
shr ecx, 2
lea edi, [esp + ebx + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 8
and ecx, 3
lea eax, [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49abc0
sub eax, edx
push 0
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, 0x2209408
call fcn.005430a0
mov ecx, dword [esp + 0x18]
add ebx, ecx
cmp eax, 0xc8
je 0x49abfc
jg 0x49ac16
mov al, byte [ebx + ebp + 0x24]
test al, al
mov esi, dword [esp + 0x1c]
jne 0x49ab73
jmp 0x49ac5a
mov ecx, 0x41
sub ecx, ebx
mov edx, ecx
shr ecx, 2
lea esi, [ebx + ebp + 0x24]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x49ac51
sub ebx, ecx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea esi, [esp + 0x28]
lea edi, [esp + ebx + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
sub ecx, ebx
mov eax, ecx
shr ecx, 2
lea esi, [ebx + ebp + 0x24]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
push 0x1f4
push 0
push 0xff
push 0xff
push 0xff
lea edx, [esi + 0x8a]
push edx
add edi, 0x23
push edi
mov ecx, 0x2209408
call fcn.00543d30
lea eax, [esp + 0x78]
push eax
push 0x1f4
push 0
push 0xff
push 0xff
push 0xff
lea ecx, [esi + 0x99]
push ecx
push edi
mov ecx, 0x2209408
call fcn.00543d30
mov edi, dword [esp + 0x14]
jmp 0x49aced
push ebx
push 0x1f4
push 0
push 0xff
push 0xff
push 0xff
lea edx, [esi + 0x8a]
push edx
lea eax, [edi + 0x23]
push eax
mov ecx, 0x2209408
call fcn.00543d30
push 0
push 0
push 0
lea ecx, [esi + 0x46]
push ecx
lea edx, [edi + 0x28]
push edx
mov ecx, 0x2209408
mov dword [0x864e00], 0
call fcn.00545ed0
cmp dword [ebp + 0x2378], 2
jne 0x49ad81
lea eax, [ebp + 0x2f58]
push eax
push 0x1f4
push 0
push 0xff
push 0xff
push 0xff
lea ecx, [esi + 0x46]
push ecx
lea edx, [edi + 0x28]
push edx
mov ecx, 0x2209408
call fcn.00543d30
push 1
push 1
push 0xc8
push 0x3e
mov ecx, 0x2203adc
mov dword [0x864e00], 0
call fcn.00532400
push 0
push 0
push 0
add esi, 0x8a
push esi
add edi, 0x23
push edi
mov ecx, 0x2209408
call fcn.00545ed0
mov ecx, dword [ebp + 0x2f74]
test ecx, ecx
je 0x49ae17
call fcn.004c4ae0
cmp dword [ebp + 0x2f78], 4
jne 0x49ae17
mov eax, dword [0x70859c]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x7085a0]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp + 0x2f54]
sar esi, 1
sar edi, 1
sub esi, 0x48
sub edi, 0x24
test eax, eax
je 0x49adee
push 0
push 1
push 0x96
push 0x18
mov ecx, 0x2203adc
call fcn.00532400
push 0
push 0
push 0
push edi
push esi
mov ecx, 0x2209408
call fcn.00545ed0
jmp 0x49ae17
lea eax, [ebp + 0x2f58]
push eax
push 0xa0
push 0
push 0xff
push 0xff
push 0xff
push edi
push esi
mov ecx, 0x2209408
call fcn.00543d30
mov al, byte [ebp + 0x2955]
test al, al
je 0x49aef5
mov ecx, dword [ebp + 0x41dc]
mov edx, dword [ebp + 0x41d8]
add ecx, 0x8c
push ecx
add edx, 0xa0
push edx
lea ecx, [ebp + 0x14]
call fcn.00549a70
mov eax, dword [ebp + 0x2f50]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x22012ec
mov dword [esp + 0x1c], eax
call fcn.00564240
mov eax, dword [esp + 0x18]
cmp eax, dword [0x22012f0]
jne 0x49ae75
xor esi, esi
jmp 0x49ae78
mov esi, dword [eax + 0x10]
push 1
push 1
push 0xc8
push 0x3e
mov ecx, 0x2203adc
mov dword [0x2203b14], 0x3f333333
call fcn.00532400
add esi, 0x32
push esi
push 0x2203adc
call fcn.005348a0
mov eax, dword [ebp + 0x41dc]
mov ecx, dword [ebp + 0x41d8]
add esp, 8
push 0
push 0
push 0
add eax, 0xbe
add ecx, 0xbc
push eax
push ecx
mov ecx, 0x2209408
call fcn.00545ed0
mov edx, dword [ebp + 0x41dc]
mov eax, dword [ebp + 0x41d8]
add edx, 0x8c
push edx
add eax, 0xa0
push eax
lea ecx, [ebp + 0x237c]
call fcn.00528b00
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret