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

Disassembly:
push 0xffffffffffffffff
push 0xa67ce8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
cmp eax, dword [edi + 0x3c]
mov ecx, dword [ecx + 0x224]
setge al
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x87
add eax, 0x78
push str.ListBG
mov dword [esp + 0x1c], eax
call fcn.00572410
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x829578
cmp dword [eax + 0x34], 0
jle 0x829578
movzx ebp, byte [ecx + 0x118]
neg ebp
sbb ebp, ebp
and ebp, ecx
jmp 0x82957a
xor ebp, ebp
mov ebx, dword [esp + 0x2c]
push str._View1_
mov ecx, ebx
call fcn.00899b10
mov esi, eax
push 1
push 0
mov ecx, esi
mov dword [esp + 0x34], esi
call fcn.00898e30
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x8295ae
cmp dword [eax], 0
je 0x8295ae
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
jmp 0x8295b0
xor ecx, ecx
test eax, eax
je 0x8295c0
cmp dword [eax], 0
je 0x8295c0
mov edx, dword [eax]
mov eax, dword [edx + 8]
jmp 0x8295c2
xor eax, eax
mov word [esp + 0x32], cx
mov word [esp + 0x30], ax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call edx
push str._List_BG_
mov ecx, esi
call fcn.00899b10
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x224]
push 1
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
push 2
push 4
push edx
mov ecx, esi
call eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x829615
cmp dword [eax], 0
je 0x829615
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
jmp 0x829617
xor ecx, ecx
test eax, eax
je 0x829627
cmp dword [eax], 0
je 0x829627
mov edx, dword [eax]
mov eax, dword [edx + 8]
jmp 0x829629
xor eax, eax
mov word [esp + 0x32], cx
mov word [esp + 0x30], ax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call edx
or dword [esi + 4], 1
push str.CouponExchangePic
mov ecx, esi
call fcn.00899b10
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x38]
push eax
mov ecx, 0xce48a0
call fcn.004aad80
push 0
push 0xea60
push 1
push 0
mov ebp, eax
mov eax, dword [ebp + 0x20]
push 1
push eax
mov ecx, 0xdaf3e8
call fcn.008e94c0
push str._CouponExchangeList0
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00899b10
mov ecx, dword [esp + 0x30]
mov esi, eax
movsx eax, word [ebp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push 1
push 2
push eax
push ecx
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov eax, 0xed
mov word [esp + 0x30], ax
mov ecx, 1
lea eax, [esp + 0x30]
mov word [esp + 0x32], cx
push eax
mov ecx, esi
call edx
mov eax, dword [edi + 8]
push eax
mov ecx, 0xce48a0
call fcn.004aad80
push 0
push 0xea60
push 1
push 0
mov esi, eax
mov eax, dword [esi + 0x20]
push 1
push eax
mov ecx, 0xdaf3e8
call fcn.008e94c0
test eax, eax
je 0x829735
movsx ecx, word [esi + 0x1c]
mov ebp, dword [esp + 0x34]
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
push 1
push 2
push ecx
push eax
mov ecx, ebp
call edx
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
mov eax, 0x24
mov word [esp + 0x30], ax
mov ecx, 0x22
lea eax, [esp + 0x30]
mov word [esp + 0x32], cx
push eax
mov ecx, ebp
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x98]
push 1
mov ecx, ebx
call edx
push str.__STATIC__
push str._Name1_
mov ecx, ebx
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__STATIC__
push str._CouponCnt1_
mov ecx, ebx
mov ebp, eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__STATIC__
push str._MyCnt1_
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x2c]
push 0
mov ebx, eax
mov eax, dword [edi + 0x3c]
push 1
mov dword [edx + 0x194], ecx
mov dword [edx + 0x198], eax
mov eax, dword [esi + 0x14]
push 1
push eax
mov ecx, ebp
call fcn.0089d0e0
call fcn.00626140
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esi], 0
mov ecx, dword [edi + 0x3c]
push 0
push 1
push 0
push ecx
lea edx, [esp + 0x44]
push 0xa90810
push edx
mov dword [esp + 0x3c], 0
call fcn.00417090
mov ecx, dword [esp + 0x48]
add esp, 0xc
push eax
call fcn.0089d0e0
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00626120
mov eax, dword [0xce1d00]
mov edx, dword [eax + 0x568]
mov edi, dword [edi + 8]
mov eax, dword [edx + 0x40d4]
add esp, 4
jmp 0x829820
cmp eax, 0xffffffff
je 0x82986e
mov ecx, dword [edx + 0x40b0]
shl eax, 5
add eax, ecx
mov ecx, dword [eax]
cmp dword [ecx + 0x14], edi
je 0x82983c
mov eax, dword [eax + 0x14]
jmp 0x829820
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
mov edi, eax
call fcn.00626140
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esi], 0
push 0
push 1
push 0
push edi
push 0xa90810
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], 1
push ecx
jmp 0x829896
call fcn.00626140
mov esi, eax
mov dword [esp + 0x34], esi
mov byte [esi], 0
push 0
push 1
push 0
push 0
push 0xa90810
lea edx, [esp + 0x48]
mov dword [esp + 0x38], 2
push edx
call fcn.00417090
add esp, 0xc
push eax
mov ecx, ebx
call fcn.0089d0e0
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00626120
mov esi, dword [esp + 0x1c]
add esp, 4
push 0
push esi
mov ecx, ebp
call fcn.008994c0
mov ecx, dword [esp + 0x30]
push 0
push esi
call fcn.008994c0
push 0
push esi
mov ecx, ebx
call fcn.008994c0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc